about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-11-19 19:13:59 +0100
committerbptato <nincsnevem662@gmail.com>2024-11-19 19:13:59 +0100
commit58a833789dacd6577fc23c382614652033209d76 (patch)
tree0224ea71fc4667cd322f240385c37a168fa1d740 /test
parent15b0afc98c0cfb685379b3680552bbe5d0f7a003 (diff)
downloadchawan-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.expected3
-rw-r--r--test/layout/flex-item-indefinite-size-with-min-max-bounds.html4
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 @@
+test test test
+test test test
+
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