blob: 2261c15ddbe2f7b0204a3ba91d677add3e6dea7c [file] [log] [blame]
<!-- Based on compositing/repaint/should-not-repaint-composited-filter.html -->
<!DOCTYPE html>
<style>
#composited-box {
backface-visibility: hidden;
width: 100px;
height: 100px;
background-color: green;
-webkit-filter: invert(70%);
}
</style>
<script src="resources/paint-invalidation-test.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function paintInvalidationTest() {
document.getElementById('composited-box').style.webkitFilter = 'invert(100%)';
}
window.onload = runPaintInvalidationTest;
</script>
<div id="composited-box"></div>