diff options
author | bptato <nincsnevem662@gmail.com> | 2025-04-07 01:42:56 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-04-07 21:43:28 +0200 |
commit | f5de7f6202cae1188b79af7a091c695652a1e78d (patch) | |
tree | 6e155fc41e5e42b0ad4065426ddd564f2100f315 /test | |
parent | 6c48f2389c116c98abdd46d5c85aeec1a9e22519 (diff) | |
download | chawan-f5de7f6202cae1188b79af7a091c695652a1e78d.tar.gz |
layout: always treat flex items as positioned boxes
it still isn't really correct, they aren't supposed to behave as absolute positioning containers...
Diffstat (limited to 'test')
-rw-r--r-- | test/layout/non-positioned-flex-item-respects-accepts-z-index.color.expected | 1 | ||||
-rw-r--r-- | test/layout/non-positioned-flex-item-respects-accepts-z-index.html | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/layout/non-positioned-flex-item-respects-accepts-z-index.color.expected b/test/layout/non-positioned-flex-item-respects-accepts-z-index.color.expected new file mode 100644 index 00000000..46d1979d --- /dev/null +++ b/test/layout/non-positioned-flex-item-respects-accepts-z-index.color.expected @@ -0,0 +1 @@ +[48;2;255;0;0mtest [49mtest 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 new file mode 100644 index 00000000..956f2591 --- /dev/null +++ b/test/layout/non-positioned-flex-item-respects-accepts-z-index.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<div style="display: flex"> +<div style="background: red; position: absolute; height: 1em; width: 5ch"></div> +<div style="z-index: 1"> +test test |