about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/flex-child-position-relative.expected3
-rw-r--r--test/layout/flex-child-position-relative.html8
2 files changed, 11 insertions, 0 deletions
diff --git a/test/layout/flex-child-position-relative.expected b/test/layout/flex-child-position-relative.expected
new file mode 100644
index 00000000..214c15da
--- /dev/null
+++ b/test/layout/flex-child-position-relative.expected
@@ -0,0 +1,3 @@
+    test 2
+
+test
diff --git a/test/layout/flex-child-position-relative.html b/test/layout/flex-child-position-relative.html
new file mode 100644
index 00000000..2bfafde6
--- /dev/null
+++ b/test/layout/flex-child-position-relative.html
@@ -0,0 +1,8 @@
+<div style="display: flex">
+<div style="position: relative; top: 2em">
+test
+</div>
+<div style="height: 5em">
+test 2
+</div>
+</div>