diff options
Diffstat (limited to 'layout/reftests/layers/component-alpha-exit-1-ref.html')
-rw-r--r-- | layout/reftests/layers/component-alpha-exit-1-ref.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/layers/component-alpha-exit-1-ref.html b/layout/reftests/layers/component-alpha-exit-1-ref.html new file mode 100644 index 0000000000..164467e7e7 --- /dev/null +++ b/layout/reftests/layers/component-alpha-exit-1-ref.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<title>Reference for test transition from component-alpha layer to single-alpha layer</title> +<script type="text/javascript"> +document.addEventListener("MozReftestInvalidate", function scrollDownAllTheWay () { + var scrollbox = document.getElementById("scrollbox"); + scrollbox.scrollTop = 1000; + document.documentElement.className = ""; +}); +</script> +<style> +#scrollbox { + margin: 20px; + width: 300px; + height: 400px; + overflow-y: hidden; + background: linear-gradient(#FFF, #FFF); +} + +#inner { + background-color: #000; + padding-bottom: 415px; +} +</style> + +<div id="scrollbox"> + <div id="inner"> + + </div> +</div> |