servo/components/layout_2020/flexbox
Oriol Brufau ba061ec2b0
Refine logic for laying out flex item in column layout after #34346 (#34372)
- Clamp the stretch size to not be negative when the sum of padding,
  borders and margins exceed the available space. This avoids a 2nd
  layout.
- Avoid computing the inline content sizes if the result isn't needed.
- Instead of clamping both the min-content and max-content sizes to be
  between the min and max constraints, just compute the fit-content size
  first, and then clamp. Then `ContentSizes::map()` can be removed.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-25 16:17:54 +00:00
..
geom.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
layout.rs Refine logic for laying out flex item in column layout after #34346 (#34372) 2024-11-25 16:17:54 +00:00
mod.rs Layout: Implement CSS Grid using taffy (#32619) 2024-11-21 20:21:01 +00:00