mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
85611a7b6d
--HG-- extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
16 lines
409 B
HTML
16 lines
409 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<body>
|
|
<div style="opacity:0">
|
|
<div id="d" class="reftest-no-paint" style="height:50px; border:2px solid black"></div>
|
|
</div>
|
|
<script type="application/javascript">
|
|
function doTest() {
|
|
d.style.border = "2px solid green";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
document.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</body>
|
|
</html>
|