servo/components/layout_2020/flow
Oriol Brufau f66cd172d6
layout: Generalize ContainingBlock's block size to a SizeConstraint (#34946)
It used to be an `AuOrAuto`, turning it into a `SizeConstraint` allows
passing the information about the min and max constraints when the
containing block doesn't have a definite block size.

This will be useful for table layout.

Note that in most cases we were already constructing the containing
block from a `SizeConstraint`, but we were calling `to_auto_or()` to
turn it into an `AuOrAuto`.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-13 10:25:33 +00:00
..
inline layout: Generalize ContainingBlock's block size to a SizeConstraint (#34946) 2025-01-13 10:25:33 +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 layout: Generalize ContainingBlock's block size to a SizeConstraint (#34946) 2025-01-13 10:25:33 +00:00
root.rs layout: Make Fragment hold ArcRefCell inside (#34923) 2025-01-13 09:59:59 +00:00