blob: 98e5655e90f4774f95a5d906693450f5bc749c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!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);
</script>
</body>
</html>
|