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 0000000000..ac6c4895d3
--- /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);
+</script>
+</body>
+</html>