diff options
Diffstat (limited to 'layout/reftests/scrolling/uncovering-1.html')
-rw-r--r-- | layout/reftests/scrolling/uncovering-1.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/scrolling/uncovering-1.html b/layout/reftests/scrolling/uncovering-1.html new file mode 100644 index 0000000000..511892049d --- /dev/null +++ b/layout/reftests/scrolling/uncovering-1.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML> +<html class="reftest-wait"> +<head> +<style> +body { + width: 1500px; + overflow: hidden; +} +div#bottom { + position: fixed; + left: 0; + top: 0; + height: 200px; + width: 200px; + background: green; +} +</style> +</head> +<body> +<div id="bottom"></div> +<div style="width:600px; height:100px; background:pink;"></div> +<script> +document.documentElement.scrollLeft = 200; +function doTest() { + document.documentElement.removeAttribute("class"); + document.documentElement.scrollLeft = 0; +} +window.addEventListener("MozReftestInvalidate", doTest); +</script> +</body> +</html> |