diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-12-17 01:23:52 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-12-17 19:35:41 +0100 |
| commit | 7d91d0dfe6309edeee7d7562d6054a8fb0392573 (patch) | |
| tree | dede41714721d9ec6f4d7a61a66afb5b9fa7fe6b /test/layout/intrinsic-min-width-overflows-parent-perc-width-after-float.html | |
| parent | c514f8c8b2e11557eed512d55321f9c8382ac2cc (diff) | |
| download | chawan-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.html | 7 |
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 |