tenfourfox/layout/reftests/reftest-sanity/zoom-invalidation.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

14 lines
418 B
HTML

<!DOCTYPE HTML>
<html reftest-zoom="1.5" class="reftest-wait">
<body style="margin:0;">
<div id="d" style="position:absolute; top:15px; left:15px; width:100px; height:100px;"></div>
<script>
function doTest() {
document.getElementById("d").style.background = "yellow";
document.documentElement.removeAttribute('class');
}
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>