servo/components/layout_2020/flexbox
Oriol Brufau c00cd1326a
Take into account the intrinsic block size when computing the main size of a column flex container (#33135)
In particular, `main_content_sizes()` now works with columns.

`layout_for_block_content_size()` is now used for both intrinsic sizes
and intrinsic contributions, a IntrinsicSizingMode parameter is added
to choose the behavior.

Also, we consider the main size of a flex item as indefinite if its flex
basis is indefinite and the flex container has an indefinite main size.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-08-20 11:30:27 +00:00
..
construct.rs layout: Layout for column flex-basis and minimum automatic size determination (#33068) 2024-08-19 10:54:10 +00:00
geom.rs layout: Layout for column flex-basis and minimum automatic size determination (#33068) 2024-08-19 10:54:10 +00:00
layout.rs Take into account the intrinsic block size when computing the main size of a column flex container (#33135) 2024-08-20 11:30:27 +00:00
mod.rs layout: Layout for column flex-basis and minimum automatic size determination (#33068) 2024-08-19 10:54:10 +00:00