servo/components/layout/flow
Martin Robinson 9232b0f550
layout: Only create a LayoutContext if restyling (#37726)
The creation of `LayoutContext` does more work than necessary if layout
just needs to do something like make a display list and not restyle and
relayout. This change makes it so that these kind of non-restyle layouts
do not need to create a display list. In addition, the creation of
`LayoutContext` is better encapsulate

Testing: This should not change observable behavior and is thus covered
by existing WPT tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-06-27 15:01:30 +00:00
..
inline Rename script_layout_interface to layout_api (#37591) 2025-06-20 17:13:05 +00:00
construct.rs Move to_bidi_level method from Stylo to Servo (#37343) 2025-06-11 14:44:13 +00:00
float.rs layout: Move text decoration propagation to stacking context tree construction (#37069) 2025-05-21 16:38:29 +00:00
mod.rs layout: Floor free space by 0 in solve_inline_margins_avoiding_floats() (#37362) 2025-06-10 09:05:09 +00:00
root.rs layout: Only create a LayoutContext if restyling (#37726) 2025-06-27 15:01:30 +00:00