servo/components/layout_2020/flexbox
Oriol Brufau 7cf2fc88a0
layout: Allow lazy resolution of automatic minimum sizes (#35965)
`Size::resolve_for_min()` had an `Au` parameter, representing the value
to be used for an automatic minimum size. However, this amount isn't
trivial to compute in flexbox, so this patch changes the parameter to a
function that can be called lazily.

Note flexbox isn't currently using `Size::resolve_for_min()`, but it
will in #35961.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-13 22:50:16 +00:00
..
geom.rs layout: Remove min and max container sizes from FlexContext (#35144) 2025-01-24 16:11:23 +00:00
layout.rs layout: Allow lazy resolution of automatic minimum sizes (#35965) 2025-03-13 22:50:16 +00:00
mod.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00