servo/components/layout_2020/flow
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
..
inline Distinguish cached inline_content_sizes() from uncached ones (#34595) 2024-12-12 15:39:51 +00:00
construct.rs Make sure to cache inline_content_sizes() (#34586) 2024-12-12 01:37:05 +00:00
float.rs Use inline-start/inline-end instead of left/right terminology for floats (#34608) 2024-12-13 16:37:35 +00:00
mod.rs Refactor box size computation (#34671) 2024-12-19 00:52:18 +00:00
root.rs layout: Clean up inline layout data types a bit (#34563) 2024-12-11 14:40:34 +00:00