gecko/layout/reftests/invalidation/test-image-layers.html

17 lines
434 B
HTML

<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div>
<img id="image" class="reftest-no-paint" src="./image_rgrg-256x256.png" style="-moz-transform: translatex(1px)"></img>
</div>
<script type="application/javascript">
function doTest() {
document.body.style.background = "black";
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>