blob: 6559a08caf43f46bd0ecb0b96c55cf01deb07d3d [file] [log] [blame]
<!DOCTYPE html>
<!--
This tests verifies that blur is repainted using the full source image of the element instead of just the dirty area.
There should be 3 blurry green boxes on the page, all the same size and color.
-->
<html>
<head>
<style>
.box {
margin: 10px;
height: 50px;
width: 50px;
background-color: green;
}
.before {
background-color: red;
}
.blur {
margin: 50px;
-webkit-filter: blur(10px);
}
</style>
<script src="../../fast/repaint/resources/repaint.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText(true);
function repaintTest()
{
document.querySelector(".before").classList.remove("before");
}
</script>
</head>
<body onload="runRepaintTest()">
<div class="blur">
<div class="box"></div>
<div class="box before"></div>
<div class="box"></div>
</div>
</body>
</html>