layout: Fix min-content inline size of multi-line row flex container (#37011)

`min_content_main_size_for_multiline_container` was initialized to an
outer size, but then it could be clamped by inner sizes.

This patch ensures that it's clamped by outer sizes, and refactors
`FlexItemBoxInlineContentSizesInfo`.

Testing: Covered by WPT
Fixes: #37008

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-05-21 08:57:50 +02:00 committed by GitHub
parent 384d8f1ff8
commit 3a527d784b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 32 deletions

View file

@ -10,12 +10,3 @@
[.flex 6]
expected: FAIL
[.flex 13]
expected: FAIL
[.flex 14]
expected: FAIL
[.flex 15]
expected: FAIL

View file

@ -1,9 +1,3 @@
[row-wrap-001.html]
[.floating-flexbox 4]
expected: FAIL
[.floating-flexbox 5]
expected: FAIL
[.floating-flexbox 1]
expected: FAIL