servo/components/layout_2020/flexbox
Oriol Brufau 6b2bbdd02d Layout 2020: implement clearance as Option<Length>
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.
2023-06-29 11:00:45 +02:00
..
construct.rs Combine DOM-related concepts in Layout 2020 into dom.rs 2023-05-13 11:52:59 +02:00
geom.rs First pass at implementing the Flex Layout Algorithm 2020-06-23 00:41:27 +02:00
layout.rs Layout 2020: implement clearance as Option<Length> 2023-06-29 11:00:45 +02:00
mod.rs First pass at implementing the Flex Layout Algorithm 2020-06-23 00:41:27 +02:00