servo/components/layout_2020
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
..
display_list layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
flexbox layout: Initial implementation of flex-direction: column and column-reverse (#33031) 2024-08-14 14:25:09 +00:00
flow layout: Initial implementation of flex-direction: column and column-reverse (#33031) 2024-08-14 14:25:09 +00:00
fragment_tree layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
table layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
tests layout: Add a InlineFormattingContextBuilder (#32415) 2024-06-03 14:46:53 +00:00
Cargo.toml layout: Reduce the complexity of FlexLine::layout (#32810) 2024-07-19 10:37:29 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
dom.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
dom_traversal.rs layout: Fix display of new text in textarea elements (#32886) 2024-07-30 14:39:17 +00:00
formatting_contexts.rs layout: Initial implementation of flex-direction: column and column-reverse (#33031) 2024-08-14 14:25:09 +00:00
geom.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
layout_debug.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
lib.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
lists.rs layout: Add a basic support for list-style-position: outside (#32114) 2024-04-22 14:23:35 +00:00
positioned.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
query.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
replaced.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
sizing.rs layout: Initial implementation of flex-direction: column and column-reverse (#33031) 2024-08-14 14:25:09 +00:00
style_ext.rs layout: Non-auto z-index should always make stacking contexts for flex items (#32961) 2024-08-12 12:15:20 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00