blob: ed42babf4ba3ce35e8859df85a4ea3915f8ab882 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
margin: 10px;
height: 50px;
width: 50px;
background-color: green;
}
.before {
background-color: red;
}
.sepia {
margin: 50px;
-webkit-filter: sepia();
}
</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="sepia">
<div class="box"></div>
<div class="box before"></div>
<div class="box"></div>
</div>
</body>
</html>