about summary refs log tree commit diff stats
path: root/test/layout/absolute-negative-z-index-position-resolved-before-container.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-04-14 19:41:07 +0200
committerbptato <nincsnevem662@gmail.com>2025-04-14 19:41:07 +0200
commitb7a918dba97ca723cef2d1b28ba1b11d10394169 (patch)
tree65494620d9c44a9b7e41fcd244e1dc2ef33104e6 /test/layout/absolute-negative-z-index-position-resolved-before-container.html
parentfa4d825bb6c678653ddb675bd511d53a52df934f (diff)
downloadchawan-b7a918dba97ca723cef2d1b28ba1b11d10394169.tar.gz
render: fix positioning of absolutes with negative z-index
Diffstat (limited to 'test/layout/absolute-negative-z-index-position-resolved-before-container.html')
-rw-r--r--test/layout/absolute-negative-z-index-position-resolved-before-container.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/layout/absolute-negative-z-index-position-resolved-before-container.html b/test/layout/absolute-negative-z-index-position-resolved-before-container.html
new file mode 100644
index 00000000..ff5bb29b
--- /dev/null
+++ b/test/layout/absolute-negative-z-index-position-resolved-before-container.html
@@ -0,0 +1,4 @@
+<!DOCTYPE html>
+<div style="position: absolute; margin-left: 1ch">
+<div style="position: absolute; margin-left: 1ch">
+<div style="width: 10em; height: 1em; left: 0; position: absolute; z-index: -1; background: red"></div>