servo/components/layout_2020/flexbox
Oriol Brufau fea8b68860
layout: Remove min and max container sizes from FlexContext (#35144)
Thanks to #34946 we don't have to recompute the min and max sizes, we
can get them from the `ContainingBlock`.

And then in `FlexContext` there is no need to store both the definite
and the min & max sizes of the container`, we can instead make do with
a single `FlexRelativeVec2<SizeConstraint>`.

This removes 1 of the 3 usages of `ContentBoxSizesAndPBMDeprecated`,
which is also good.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-24 16:11:23 +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 min and max container sizes from FlexContext (#35144) 2025-01-24 16:11:23 +00:00
mod.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00