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