servo/components/layout_2020/flow/inline
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
..
construct.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
inline_box.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
line.rs Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
line_breaker.rs layout: Linebreak the entire InlineFormattingContext at once (#32483) 2024-06-13 20:12:14 +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
text_run.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00