servo/components/layout_2020
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
..
display_list Create a constellation_traits crate (#36088) 2025-03-22 15:49:08 +00:00
flexbox layout: Ensure compatible positioning context during flexbox block content sizing calculation (#36123) 2025-03-25 09:41:59 +00:00
flow layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
fragment_tree layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
table layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
taffy layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
tests Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
Cargo.toml Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
cell.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
construct_modern.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
context.rs script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +00:00
dom.rs canvas: Update the image as part of update the rendering (#35996) 2025-03-25 06:38:02 +00:00
dom_traversal.rs Make input element display-inside always flow-root (#35908) 2025-03-23 00:45:59 +00:00
formatting_contexts.rs layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
geom.rs layout: Implement the fit-content() sizing function (#36056) 2025-03-23 14:26:44 +00:00
layout_box_base.rs layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
lib.rs layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
lists.rs layout: Add LayoutBoxBase and use it for IndependentFormattingContext (#34507) 2024-12-07 19:12:25 +00:00
positioned.rs layout: Cache IndependentNonReplacedContents::layout() (#36082) 2025-03-24 12:33:44 +00:00
query.rs Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
quotes.rs layout: Implement a non-recursive version of CSS quotes (#34770) 2025-02-27 16:00:21 +00:00
replaced.rs canvas: Update the image as part of update the rendering (#35996) 2025-03-25 06:38:02 +00:00
sizing.rs layout: Implement the fit-content() sizing function (#36056) 2025-03-23 14:26:44 +00:00
style_ext.rs layout: Implement the fit-content() sizing function (#36056) 2025-03-23 14:26:44 +00:00
traversal.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00