aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-17 01:23:52 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-17 19:35:41 +0100
commit7d91d0dfe6309edeee7d7562d6054a8fb0392573 (patch)
treedede41714721d9ec6f4d7a61a66afb5b9fa7fe6b /test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html
parentc514f8c8b2e11557eed512d55321f9c8382ac2cc (diff)
downloadchawan-7d91d0dfe6309edeee7d7562d6054a8fb0392573.tar.gz
layout: propagate intrinsic minimum height
Necessary for flex. Previously we just used the actual height, but that didn't account for boxes that size themselves depending on the available height (mainly just images for now). This also irons out intrinsic min width calculation somewhat, squashing several bugs. I hope it works well. It is a significant change in size calculation, so maybe there are still new bugs lurking.
Diffstat (limited to 'test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html')
-rw-r--r--test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html b/test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html
new file mode 100644
index 00000000..11e3663e
--- /dev/null
+++ b/test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<body>
+<div style="float: right">right</div>
+<div style="display: flow-root; background: purple">
+<div style="margin-left: auto; margin-right: auto; width: 100%; background: red">
+<pre>
+test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test