summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/584699-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/584699-1.html')
-rw-r--r--layout/reftests/bugs/584699-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/584699-1.html b/layout/reftests/bugs/584699-1.html
new file mode 100644
index 000000000..e4920ab5b
--- /dev/null
+++ b/layout/reftests/bugs/584699-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<head>
+<script>
+function doTest() {
+ var c = document.getElementById("c");
+ c.style.top = "20px";
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest, false);
+</script>
+</head>
+<body>
+<canvas id="c" style="position: absolute; top:0; opacity:0.5; border:1px solid black; width:200px; height:200px;"></canvas>
+</body>
+</html>