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