summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/894931-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/894931-1.html')
-rw-r--r--layout/reftests/bugs/894931-1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/894931-1.html b/layout/reftests/bugs/894931-1.html
new file mode 100644
index 0000000000..83d33e6e4f
--- /dev/null
+++ b/layout/reftests/bugs/894931-1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<body>
+<div id="d" style="margin-top:100px;">
+ <div style="background:yellow; width:100px; height:100px; position:absolute; top:0; left:0"></div>
+</div>
+<script>
+function doTest() {
+ document.getElementById("d").style.position = "relative";
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</body>
+</html>