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 0000000000..588008a904
--- /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);
+</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>