servo/components/layout_2020/flexbox
Oriol Brufau 0419a7818d
layout: Remove calculate_hypothetical_cross_size() (#35821)
One of the callers was only used for an assert, and it was passing an
inline size argument to a parameter expecting a block size, so it wasn't
making much sense anyways.

Just inline the code into the other caller, and for consistency remove
the assert for replaced elements too.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-10 20:38:44 +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: Remove calculate_hypothetical_cross_size() (#35821) 2025-03-10 20:38:44 +00:00
mod.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00