diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-07-19 07:38:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 05:38:33 +0000 |
commit | 9c333ab1eea56477a9d2647dc56f2a9aa4beec51 (patch) | |
tree | 8e138f12e38c85631ddc8f529ea09acc9bdaa895 /components/layout_2020/flow/construct.rs | |
parent | ae3f33b9d03393eb25503fa3b30f05957119f9a7 (diff) | |
download | servo-9c333ab1eea56477a9d2647dc56f2a9aa4beec51.tar.gz servo-9c333ab1eea56477a9d2647dc56f2a9aa4beec51.zip |
Totally ignore abspos children for intrinsic sizing (#30010)
calculate_inline_content_size_for_block_level_boxes was relying on
inline_content_sizes to get the size of each block-level box child.
For absolutely positioned boxes, this was 0x0.
That was no-op before #29887, but then it prevented adding the sizes
of a sequence of floats. Abspos should just be ignored instead of
treated as 0x0.
This patch removes inline_content_sizes, moves the logic into
calculate_inline_content_size_for_block_level_boxes (the only caller),
and handles abspos correctly.
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
0 files changed, 0 insertions, 0 deletions