aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/layout/position-sticky-establishes-absolute-container.expected2
-rw-r--r--test/layout/position-sticky-establishes-absolute-container.html8
2 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/position-sticky-establishes-absolute-container.expected b/test/layout/position-sticky-establishes-absolute-container.expected
new file mode 100644
index 00000000..33c1f19e
--- /dev/null
+++ b/test/layout/position-sticky-establishes-absolute-container.expected
@@ -0,0 +1,2 @@
+test
+absolute
diff --git a/test/layout/position-sticky-establishes-absolute-container.html b/test/layout/position-sticky-establishes-absolute-container.html
new file mode 100644
index 00000000..4725a883
--- /dev/null
+++ b/test/layout/position-sticky-establishes-absolute-container.html
@@ -0,0 +1,8 @@
+<div>
+test
+</div>
+<div style="position: sticky">
+<div style="position: absolute; top: 0">
+absolute
+</div>
+</div>