summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/transformed-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/position-sticky/transformed-1.html')
-rw-r--r--layout/reftests/position-sticky/transformed-1.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/position-sticky/transformed-1.html b/layout/reftests/position-sticky/transformed-1.html
new file mode 100644
index 0000000000..98f82b1150
--- /dev/null
+++ b/layout/reftests/position-sticky/transformed-1.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html style="margin: 0">
+ <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>