summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-sticky-in-transformed-scrollframe-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/async-scrolling/position-sticky-in-transformed-scrollframe-2.html')
-rw-r--r--layout/reftests/async-scrolling/position-sticky-in-transformed-scrollframe-2.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/position-sticky-in-transformed-scrollframe-2.html b/layout/reftests/async-scrolling/position-sticky-in-transformed-scrollframe-2.html
new file mode 100644
index 0000000000..73944529d5
--- /dev/null
+++ b/layout/reftests/async-scrolling/position-sticky-in-transformed-scrollframe-2.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html reftest-async-scroll>
+<div style="transform: translateY(90px); margin-top: 10px">
+<div style="overflow:scroll; height: 400px; width: 400px; background-color: yellow"
+ reftest-displayport-x="0"
+ reftest-displayport-y="0"
+ reftest-displayport-w="400"
+ reftest-displayport-h="800"
+ reftest-async-scroll-x="0"
+ reftest-async-scroll-y="120">
+<div style="height: 800px">
+<div style="position:sticky; top: 0px; height: 20px; background-color: green"></div>
+</div>
+</div>
+</div>