about summary refs log tree commit diff stats
path: root/test/layout/non-positioned-flex-item-respects-accepts-z-index.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout/non-positioned-flex-item-respects-accepts-z-index.html')
-rw-r--r--test/layout/non-positioned-flex-item-respects-accepts-z-index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/layout/non-positioned-flex-item-respects-accepts-z-index.html b/test/layout/non-positioned-flex-item-respects-accepts-z-index.html
index 956f2591..fabad52f 100644
--- a/test/layout/non-positioned-flex-item-respects-accepts-z-index.html
+++ b/test/layout/non-positioned-flex-item-respects-accepts-z-index.html
@@ -1,5 +1,17 @@
 <!DOCTYPE html>
+<div style="position: relative; line-height: 1em">
 <div style="display: flex">
 <div style="background: red; position: absolute; height: 1em; width: 5ch"></div>
 <div style="z-index: 1">
 test test
+</div>
+</div>
+<div style="display: flex; flex-direction: column">
+<div>test</div>
+<div style="z-index: -1">
+test test
+<div style="position: absolute; top: 3em">
+eh?
+</div>
+</div>
+</div>