From a78fa4ee235006239bf9e81d8d83adc59415b524 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 30 May 2024 22:25:56 +0200 Subject: layout: fix a width sizing bug As expected, the mystery line was just hiding another bug. (In particular, indefinite containing size constraints were not denied in resolveContentWidth, so it only (accidentally) worked with stretched sizes.) --- .../layout/max-width-sets-main-width-indefinite-parent.color.expected | 2 ++ test/layout/max-width-sets-main-width-indefinite-parent.html | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 test/layout/max-width-sets-main-width-indefinite-parent.color.expected create mode 100644 test/layout/max-width-sets-main-width-indefinite-parent.html (limited to 'test/layout') diff --git a/test/layout/max-width-sets-main-width-indefinite-parent.color.expected b/test/layout/max-width-sets-main-width-indefinite-parent.color.expected new file mode 100644 index 00000000..9ef30269 --- /dev/null +++ b/test/layout/max-width-sets-main-width-indefinite-parent.color.expected @@ -0,0 +1,2 @@ + testing testing testing testing testing + diff --git a/test/layout/max-width-sets-main-width-indefinite-parent.html b/test/layout/max-width-sets-main-width-indefinite-parent.html new file mode 100644 index 00000000..524a4ebe --- /dev/null +++ b/test/layout/max-width-sets-main-width-indefinite-parent.html @@ -0,0 +1,4 @@ + + +
+
testing testing testing testing testing -- cgit 1.4.1-2-gfad0