servo/components/layout_2020/flow/inline
Martin Robinson 7633bdccd2
layout: Initial implementation of flex-direction: column and column-reverse (#33031)
This change removes restrictions on using the column layout mode of
flexbox and adds an initial implementation of sizing for that flex
direction. There's a lot of missing pieces still, but in some cases this
does render column flexbox.

In particular, there are now two code paths for preferred widths
(intrinsic size) calcuation: one in the main axis (row) and one in
the cross axis (column) corresponding to the flex direciton with
horizontal writing modes.

In addition, `FlexItemBox::inline_content_sizes` is removed in favor of
making `sizing::outer_inline` /
`IndependentFormattingContext::outer_inline_content_sizes` generic
enough to handle using a different value for auto minimum sizes, which
flexbox needs.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-08-14 14:25:09 +00:00
..
construct.rs layout: Improve layout of table captions (#32695) 2024-07-08 12:58:38 +00:00
inline_box.rs layout: Allow rendering LineItems independent of inline box (#32666) 2024-07-03 15:15:31 +00:00
line.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
line_breaker.rs layout: Linebreak the entire InlineFormattingContext at once (#32483) 2024-06-13 20:12:14 +00:00
mod.rs layout: Initial implementation of flex-direction: column and column-reverse (#33031) 2024-08-14 14:25:09 +00:00
text_run.rs layout: Improve layout of table captions (#32695) 2024-07-08 12:58:38 +00:00