diff options
author | bptato <nincsnevem662@gmail.com> | 2024-11-19 19:13:59 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-11-19 19:13:59 +0100 |
commit | 58a833789dacd6577fc23c382614652033209d76 (patch) | |
tree | 0224ea71fc4667cd322f240385c37a168fa1d740 /test | |
parent | 15b0afc98c0cfb685379b3680552bbe5d0f7a003 (diff) | |
download | chawan-58a833789dacd6577fc23c382614652033209d76.tar.gz |
layout: fix indefinitely sized flex items with bounds
maybe I'll get it right one of these days
Diffstat (limited to 'test')
-rw-r--r-- | test/layout/flex-item-indefinite-size-with-min-max-bounds.color.expected | 3 | ||||
-rw-r--r-- | test/layout/flex-item-indefinite-size-with-min-max-bounds.html | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/layout/flex-item-indefinite-size-with-min-max-bounds.color.expected b/test/layout/flex-item-indefinite-size-with-min-max-bounds.color.expected new file mode 100644 index 00000000..00b23149 --- /dev/null +++ b/test/layout/flex-item-indefinite-size-with-min-max-bounds.color.expected @@ -0,0 +1,3 @@ +[48;2;0;128;0mtest test [49mtest +[48;2;0;128;0mtest test [49mtest + diff --git a/test/layout/flex-item-indefinite-size-with-min-max-bounds.html b/test/layout/flex-item-indefinite-size-with-min-max-bounds.html new file mode 100644 index 00000000..c2904684 --- /dev/null +++ b/test/layout/flex-item-indefinite-size-with-min-max-bounds.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<div style="display: flex; background: green; width: 10ch"> +<div style="max-width: 100%; min-width: 15ch"> +test test test test test test |