mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
16 lines
343 B
HTML
16 lines
343 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<body>
|
|
<div id="d" style="opacity:0.9">HELLO</div>
|
|
<script>
|
|
function finishTest() {
|
|
var d = document.getElementById("d");
|
|
d.style.opacity = 0.1;
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", finishTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|