blob: c11ac442d681bf74f372c0af1c55eb7faf409958 (
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, false);
</script>
</body>
</html>
|