servo/components/layout_2020/flow
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
..
inline Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
construct.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
float.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
mod.rs layout: Allow lazy resolution of automatic minimum sizes (#35965) 2025-03-13 22:50:16 +00:00
root.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00