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

17 строки
428 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: perspective(1px)"></img>
</div>
<script type="application/javascript">
function doTest() {
document.body.style.background = "black";
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>