summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/872254-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/872254-1.html')
-rw-r--r--layout/reftests/bugs/872254-1.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/layout/reftests/bugs/872254-1.html b/layout/reftests/bugs/872254-1.html
new file mode 100644
index 0000000000..6bae102a78
--- /dev/null
+++ b/layout/reftests/bugs/872254-1.html
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<body>
+<style>
+body { height:5000px; overflow:hidden; }
+div {
+ position:relative;
+ width:300px;
+ height:300px;
+ background-color:red;
+}
+</style>
+<script>
+window.scrollTo(0,0);
+window.addEventListener("MozReftestInvalidate", function() {
+ document.getElementsByTagName("div")[0].style.top = '500px';
+ window.scrollTo(0,500);
+ document.documentElement.removeAttribute("class");
+});
+</script>
+<table>
+<tr><td><div></div></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+</table>
+</body>
+</html>