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