diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/layers/forced-bg-color-outside-visible-region-ref.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/layers/forced-bg-color-outside-visible-region-ref.html b/layout/reftests/layers/forced-bg-color-outside-visible-region-ref.html new file mode 100644 index 0000000000..8a5c68ac5e --- /dev/null +++ b/layout/reftests/layers/forced-bg-color-outside-visible-region-ref.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Bug 1266161 - Reference</title> + +<style type="text/css"> + +html, body { + margin: 0; +} + +#scrollbox { + overflow: auto; + height: 500px; + width: 500px; +} + +#scrolled { + height: 1201px; +} + +</style> + +<div id="wrapper"> + + <div id="scrollbox"> + + <div id="scrolled"> + </div> + + </div> + +</div> + +<script> + +var scrollbox = document.getElementById("scrollbox"); +scrollbox.scrollTop = 80; + +</script> |