summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1003425-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1003425-2.html')
-rw-r--r--layout/reftests/bugs/1003425-2.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1003425-2.html b/layout/reftests/bugs/1003425-2.html
new file mode 100644
index 0000000000..ee25ca1ab3
--- /dev/null
+++ b/layout/reftests/bugs/1003425-2.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<style>
+div {
+ width: 500px;
+ height: 500px;
+ opacity: 0.5;
+ background-color: lime;
+}
+</style>
+<div id="d"></div>
+<script>
+function doTest() {
+ document.getElementById("d").style.opacity = 1;
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>