aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-14 19:28:14 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-14 19:41:17 +0100
commit3415826c80f3a3ad9d090e18ee9d3d360a08f591 (patch)
tree0cbec19b5244ae9bdab1af49ccf4341b629da7ba /test/layout
parent440fe613a03084a8efb72db2b9e20545ffbbda73 (diff)
downloadchawan-3415826c80f3a3ad9d090e18ee9d3d360a08f591.tar.gz
layout: fix another flex sizing bug
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/flex-max-content-over-min-height.color.expected4
-rw-r--r--test/layout/flex-max-content-over-min-height.html8
2 files changed, 12 insertions, 0 deletions
diff --git a/test/layout/flex-max-content-over-min-height.color.expected b/test/layout/flex-max-content-over-min-height.color.expected
new file mode 100644
index 00000000..61202521
--- /dev/null
+++ b/test/layout/flex-max-content-over-min-height.color.expected
@@ -0,0 +1,4 @@
+test
+test
+ 
+
diff --git a/test/layout/flex-max-content-over-min-height.html b/test/layout/flex-max-content-over-min-height.html
new file mode 100644
index 00000000..31db0a30
--- /dev/null
+++ b/test/layout/flex-max-content-over-min-height.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<div style="display: flex; flex-direction: column; min-height: 2em; width: 4ch">
+<div style="display: flex; flex-wrap: wrap; max-width: 1ch">
+<div>test</div>
+<div style="width: 100%; display: inline-block; height: 2em; background: red">
+test
+</div>
+</div>