layout: Don't consider a definite stretch size as intrinsic (#36045)

`block_size_is_zero_or_intrinsic()` was always returning true for
`stretch`. This function is used for the margin collapse heuristics
in block layout, so we were considering that an empty element with
`height: stretch` would self-collapse.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-03-19 09:52:35 +01:00 committed by GitHub
parent 6be7612d16
commit 3a3c3aeb75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -1,2 +0,0 @@
[block-height-009.html]
expected: FAIL