servo/components/layout_2020/flexbox
Oriol Brufau e2a0ac07ff
Refactor box size computation (#34671)
in each layout logic, in order to correctly resolve sizing keywords.

This patch adds a new `Sizes` struct which holds the preferred, min and
max sizing values for one axis, and unifies the logic to resolve the
final size into there.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-19 00:52:18 +00:00
..
geom.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
layout.rs Refactor box size computation (#34671) 2024-12-19 00:52:18 +00:00
mod.rs layout: Make a new ContainingBlockSize type (#34565) 2024-12-11 14:40:04 +00:00