From 6ab23760e27a590c753965debe2d51f7f4640e25 Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 22 Jul 2024 21:23:21 +0200 Subject: layout: fix various flex column sizing bugs * fix flex column item width not being stretched * set minimum flex column height to the layouted item's height (to avoid overlap) --- test/layout/flex-column-height-basis-0.expected | 4 ++++ test/layout/flex-column-height-basis-0.html | 8 ++++++++ test/layout/flex-column-width-stretch.color.expected | 2 ++ test/layout/flex-column-width-stretch.html | 4 ++++ 4 files changed, 18 insertions(+) create mode 100644 test/layout/flex-column-height-basis-0.expected create mode 100644 test/layout/flex-column-height-basis-0.html create mode 100644 test/layout/flex-column-width-stretch.color.expected create mode 100644 test/layout/flex-column-width-stretch.html (limited to 'test/layout') diff --git a/test/layout/flex-column-height-basis-0.expected b/test/layout/flex-column-height-basis-0.expected new file mode 100644 index 00000000..6597d014 --- /dev/null +++ b/test/layout/flex-column-height-basis-0.expected @@ -0,0 +1,4 @@ +test 1 +test 1 +test 1 +test 2 diff --git a/test/layout/flex-column-height-basis-0.html b/test/layout/flex-column-height-basis-0.html new file mode 100644 index 00000000..a261031d --- /dev/null +++ b/test/layout/flex-column-height-basis-0.html @@ -0,0 +1,8 @@ + +
+test 1
+test 1
+test 1
+
+
+test 2 diff --git a/test/layout/flex-column-width-stretch.color.expected b/test/layout/flex-column-width-stretch.color.expected new file mode 100644 index 00000000..a52ec5dc --- /dev/null +++ b/test/layout/flex-column-width-stretch.color.expected @@ -0,0 +1,2 @@ +test 1  + diff --git a/test/layout/flex-column-width-stretch.html b/test/layout/flex-column-width-stretch.html new file mode 100644 index 00000000..cd65d9d4 --- /dev/null +++ b/test/layout/flex-column-width-stretch.html @@ -0,0 +1,4 @@ + + +
+test 1 -- cgit 1.4.1-2-gfad0