blob: c96e7486e88da4cd03196f9744cb7a392a4ba848 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
position: relative;
height: 200px;
width: 200px;
background-color: green;
}
.blurry {
margin: 50px;
-webkit-filter: blur(10px);
}
#change {
height: 100px;
width: 100px;
top: 50px;
left: 50px;
background-color: red;
}
</style>
<script src="../../fast/repaint/resources/repaint.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText(true);
if (window.internals) {
// Force software rendering mode.
window.internals.settings.setAcceleratedCompositingEnabled(false);
}
function repaintTest()
{
document.getElementById('change').style.backgroundColor = "green";
}
</script>
</head>
<body onload="runRepaintTest()">
<div class="blurry box">
<div id="change" class="box">
</div>
</div>
</body>
</html>