Fix intrinsic sizing of column flex containers (#33299)

From https://drafts.csswg.org/css-flexbox-1/#intrinsic-cross-sizes,
> The min-content/max-content cross size of a single-line flex container
> is the largest min-content contribution/max-content contribution
> (respectively) of its flex items.

We were using the min/max-content size instead of the min/max-content
contribution.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-09-04 08:44:31 +02:00 committed by GitHub
parent e43e477842
commit 27d87f104e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 3 additions and 63 deletions

View file

@ -5,12 +5,6 @@
[.inline-flex 6]
expected: FAIL
[.inline-flex 3]
expected: FAIL
[.inline-flex 7]
expected: FAIL
[.inline-flex 1]
expected: FAIL