servo/components/layout_2020/fragment_tree
Martin Robinson d169a82d2e
layout: Implement proper absolute child position for flexbox (#33346)
This implements the requirements outlined in the [flexbox specification]
about how to position absolute children of flex containers. We must
establish a static position rectangle (to use if all insets are auto)
and also align the child into that rectangle.

[flebox specification]: https://drafts.csswg.org/css-flexbox/#abspos-items

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-09-09 14:44:16 +00:00
..
base_fragment.rs layout: Non-auto z-index should always make stacking contexts for flex items (#32961) 2024-08-12 12:15:20 +00:00
box_fragment.rs layout: Prepare for bidi by guarding all access to writing-mode (#33082) 2024-08-16 11:38:04 +00:00
containing_block.rs clippy: Fix various clippy warnings throughout the code (#33003) 2024-08-13 05:16:47 +00:00
fragment.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
fragment_tree.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
hoisted_shared_fragment.rs layout: Implement proper absolute child position for flexbox (#33346) 2024-09-09 14:44:16 +00:00
mod.rs clippy: Fix warnings in components/layout_2020 (#31611) 2024-03-11 14:24:33 +00:00
positioning_fragment.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00