Skip anonymous blocks for percentage resolution (#33658)

Anonymous blocks have `height: auto`, so children with a percentage
`height` were considered to have an indefinite height.

However, anonymous blocks need to be skipped for percentage resolution,
so the percentages may actually be definite.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-10-05 10:56:17 +02:00 committed by GitHub
parent 719b5aba24
commit ad8ba49d2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 12 deletions

View file

@ -1,2 +0,0 @@
[anonymous-boxes-001a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-percentage-max-height-in-anonymous-block.html]
expected: FAIL