mirror of
https://github.com/servo/servo.git
synced 2025-07-15 03:13:41 +01:00
`BoxFragment` had 2 fields that are only relevant for block-level boxes: `clearance` and a boxed `block_margins_collapsed_with_children`. This moves both pieces of data into a new `BlockLevelLayoutInfo` struct, which is boxed. As a result, the size of `BoxFragment` is reduced from 272 to 264 bytes. Testing: Unneeded (no behavior change) Signed-off-by: Oriol Brufau <obrufau@igalia.com> |
||
---|---|---|
.. | ||
base_fragment.rs | ||
box_fragment.rs | ||
containing_block.rs | ||
fragment.rs | ||
fragment_tree.rs | ||
hoisted_shared_fragment.rs | ||
mod.rs | ||
positioning_fragment.rs |