diff options
author | Oriol Brufau <obrufau@igalia.com> | 2025-03-19 09:52:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 08:52:35 +0000 |
commit | 3a3c3aeb7548db10a6ef16ca988fb573dd349303 (patch) | |
tree | 41f4f8aba9284da9aad11784e262f58ab8eaf8dd /components/script/dom/shadowroot.rs | |
parent | 6be7612d165ab15b5df383fb378633b707a6f782 (diff) | |
download | servo-3a3c3aeb7548db10a6ef16ca988fb573dd349303.tar.gz servo-3a3c3aeb7548db10a6ef16ca988fb573dd349303.zip |
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>
Diffstat (limited to 'components/script/dom/shadowroot.rs')
0 files changed, 0 insertions, 0 deletions