summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/579985-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/579985-1.html')
-rw-r--r--layout/reftests/bugs/579985-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/579985-1.html b/layout/reftests/bugs/579985-1.html
new file mode 100644
index 0000000000..2e1288dacd
--- /dev/null
+++ b/layout/reftests/bugs/579985-1.html
@@ -0,0 +1,16 @@
+<!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);
+</script>
+</head>
+<body>
+<div id="d" style="width:100px; height:100px; background:blue;">Hello</div>
+</body>
+</html>