summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1155828-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1155828-1.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1155828-1.html b/layout/reftests/bugs/1155828-1.html
new file mode 100644
index 0000000000..8eaefd2b2d
--- /dev/null
+++ b/layout/reftests/bugs/1155828-1.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML>
+<html class="reftest-wait">
+<meta charset="utf-8">
+<title>Scrolling shouldn't cause gaps in the shadow</title>
+<style type="text/css">
+#rear {
+ width: 500px;
+ height: 1500px;
+ box-shadow: 0 0 71px #667;
+ display: block;
+}
+</style>
+
+<div id="rear"></div>
+
+<script>
+
+function doTest() {
+ document.documentElement.scrollTop = 108;
+ document.documentElement.removeAttribute("class");
+}
+window.addEventListener("MozReftestInvalidate", doTest);
+
+document.documentElement.scrollTop = 112;
+
+</script>