Function layout_2020::flexbox::layout::do_initial_flex_line_layout

source ·
fn do_initial_flex_line_layout<'items>(
    flex_context: &mut FlexContext<'_>,
    container_main_size: Au,
    items: Vec<FlexItem<'items>>,
    main_gap: Au,
) -> Vec<InitialFlexLineLayout<'items>>
Expand description

“Collect flex items into flex lines” https://drafts.csswg.org/css-flexbox/#algo-line-break