diff options
Diffstat (limited to 'layout/reftests/bugs/872254-1.html')
-rw-r--r-- | layout/reftests/bugs/872254-1.html | 71 |
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 000000000..4c6e0be23 --- /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"); +}, false); +</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> |