blob: ad177d827bdb7cd181d576ffd720a29997ee4f74 [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>
function paintInvalidationTest() {
document.getElementById('composited-box').style.webkitFilter = 'invert(100%)';
}
window.onload = runPaintInvalidationTest;
</script>
<div id="composited-box"></div>