servo/components/layout_2020/flexbox
Martin Robinson 2d001e2c85
layout: Enable using cached fragments when there is a BoxTree update point (#36404)
This starts to enable the fragment cache for all layout modes, except
grid. The main tricky bit here is that update points are absolutes and
these need to be laid out again in their containing blocks. We punt a
little bit on this, by forcing ancestors of update points to rebuild
their Fragments. This is just the first step.

Testing: We do not currently have layout performance tests, but will try
to run some tests manually later. Behavior is covered by the WPT.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-04-09 13:32:07 +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: Enable using cached fragments when there is a BoxTree update point (#36404) 2025-04-09 13:32:07 +00:00
mod.rs layout: Enable using cached fragments when there is a BoxTree update point (#36404) 2025-04-09 13:32:07 +00:00