mirror of
https://github.com/servo/servo.git
synced 2025-06-19 22:59:03 +01:00
Clearance was implemented as a Length, where zero meant no clearance. However, having a clearance of 0px should be different than having no clearance, since the former can still prevent margin collapse. This patch keeps the existing behavior, so it won't be possible to get a clearance of Some(Length::zero()), but it prepares the terrain for a follow-up to fix calculate_clearance to return the proper thing. |
||
---|---|---|
.. | ||
base_fragment.rs | ||
box_fragment.rs | ||
containing_block.rs | ||
fragment.rs | ||
fragment_tree.rs | ||
hoisted_shared_fragment.rs | ||
mod.rs |