mirror of
https://github.com/servo/servo.git
synced 2025-10-04 10:39:16 +01:00
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. |
||
---|---|---|
.. | ||
construct.rs | ||
float.rs | ||
inline.rs | ||
mod.rs | ||
root.rs |