servo/components/layout_2020/flexbox
Martin Robinson b4a768cfc7
layout: Ensure compatible positioning context during flexbox block content sizing calculation (#36123)
Sometimes column Flexbox needs to do an early layout pass to determine
the preferred block content size of flex items. Previously the
absolutely positioned children created during this pass were discarded,
but now they are cached to be possibly used during the final layout
phase of the flex item. Since they are not thrown away, it is necessary
that the `PositioningContext` used to collect them is compatible with
their final `PositioningContext`.

Fixes #36121.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-25 09:41:59 +00:00
..
geom.rs layout: Unify FlexItem::new() and FlexItemBox::main_content_size_info() (#35900) 2025-03-14 21:37:19 +00:00
layout.rs layout: Ensure compatible positioning context during flexbox block content sizing calculation (#36123) 2025-03-25 09:41:59 +00:00
mod.rs layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00