Obey min and max properties when computing main size of column flex (#34450)

When laying out a column flex container with an auto preferred main size,
we were resolving the used main size to the intrinsic max-content size.
However, we weren't clamping this amount between the min and max sizes.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Oriol Brufau 2024-12-02 23:14:54 +01:00 committed by GitHub
parent e146417b42
commit ad448da7de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 12 additions and 171 deletions

View file

@ -10,7 +10,3 @@
[.flexbox, .inline-flexbox 4]
expected: FAIL
[.flexbox 1]
expected: FAIL