summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1155828-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1155828-1-ref.html')
-rw-r--r--layout/reftests/bugs/1155828-1-ref.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1155828-1-ref.html b/layout/reftests/bugs/1155828-1-ref.html
new file mode 100644
index 000000000..66bfea56c
--- /dev/null
+++ b/layout/reftests/bugs/1155828-1-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<head>
+<style type="text/css">
+#rear {
+ width: 500px;
+ height: 1500px;
+ box-shadow: 0 0 71px #667;
+ display: block;
+}
+</style>
+<script>
+document.documentElement.scrollTop = 0;
+
+function doTest() {
+ document.documentElement.scrollTop = 108;
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</head>
+<body>
+<div id="rear"></div>
+</body>
+</html>