summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/546033-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/546033-1.html')
-rw-r--r--layout/reftests/bugs/546033-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/546033-1.html b/layout/reftests/bugs/546033-1.html
new file mode 100644
index 000000000..c2702a3e7
--- /dev/null
+++ b/layout/reftests/bugs/546033-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<body style="height:3000px; overflow:hidden;">
+<script>
+function doTest() {
+ document.documentElement.scrollTop = 100;
+ document.documentElement.removeAttribute('class');
+}
+window.focus();
+document.documentElement.focus();
+document.addEventListener("MozReftestInvalidate", doTest, false);
+</script>
+</body>
+</html>