summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/transformed-2.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/position-sticky/transformed-2.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/position-sticky/transformed-2.html b/layout/reftests/position-sticky/transformed-2.html
new file mode 100644
index 0000000000..8d549fcfde
--- /dev/null
+++ b/layout/reftests/position-sticky/transformed-2.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html style="margin: 0" reftest-async-scroll reftest-async-scroll-y="50">
+ <body style="margin: 0">
+ <div style="height: 70px; background-color: blue"></div>
+ <div style="height: 2000px; transform: translateY(50px)">
+ <div style="position:sticky; top: 70px; width: 100px; height: 100px; background-color: green"></div>
+ </div>
+</html>