mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
17 lines
381 B
HTML
17 lines
381 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<script>
|
|
function doTest() {
|
|
var d = document.getElementById("d");
|
|
d.style.opacity = 0.5;
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="d" style="width:100px; height:100px; background:blue;">Hello</div>
|
|
</body>
|
|
</html>
|