summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-2-ref.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-2-ref.html b/layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-2-ref.html
new file mode 100644
index 0000000000..763a4a550a
--- /dev/null
+++ b/layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-2-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<div id="scroller" style="overflow:scroll; height: 400px; width: 400px">
+<div style="margin-top: 120px; background-color: yellow; height: 380px">
+<div style="height: 90px"></div>
+<div style="height: 20px; background-color: green"></div>
+</div>
+<div style="height: 310px"></div>
+</div>
+<script>
+ document.getElementById('scroller').scrollTop = 120;
+</script>