layout: Implement keyword sizes for block layout heuristics (#34695)

Block layout uses some heuristics to guess whether margins are separated
by clearance and then don't collapse. These heuristics now take the
min-content, max-content, fit-content and stretch sizing keywords into
account.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-12-23 03:00:37 -08:00 committed by GitHub
parent 2ab66ce678
commit 6be0a64939
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 212 additions and 63 deletions

View file

@ -0,0 +1,2 @@
[float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[float-clearance-with-margin-collapse-and-fit-content-and-padding-percentage-004.html]
expected: FAIL