servo/components/layout_2020/flow
Oriol Brufau 9c333ab1ee
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.
2023-07-19 05:38:33 +00:00
..
construct.rs layout_2020: Check blocks for whether they will establish a formatting context 2023-05-31 23:28:28 +08:00
float.rs Place replaced and non-auto inline size independent FCs next to floats (#29977) 2023-07-18 18:43:45 +00:00
inline.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
mod.rs Totally ignore abspos children for intrinsic sizing (#30010) 2023-07-19 05:38:33 +00:00
root.rs Simplify layout of absolutes with static insets 2023-06-20 11:44:25 +02:00