layout: Always floor the max-content size by the min-content size (#36571)

This is a follow-up to #36518, which only addressed inline formatting
contexts. However, flex formatting contexts had the same problem, so it
seems safer to address it in general.

Testing: this makes a WPT test pass
Fixes: #36570

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-04-17 08:36:05 -07:00 committed by GitHub
parent 594c04dc7c
commit 939355645e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 10 deletions

View file

@ -1,2 +0,0 @@
[row-wrap-002.tentative.html]
expected: FAIL