servo/components/layout/flow
Oriol Brufau fe9d49fccc
layout: Require specific layout info in BoxFragment::new() (#37917)
It was very easy to forget about using `.with_specific_layout_info()` to
set the specific layout info, so it's better to make it a parameter.

In fact this already happened in the past: #36993 fixed the missing
specific layout info for flex items.

This patch fixes it for floats and atomic inlines. It also propagates it
in other cases where not doing so was not a big deal because the
specific layout info was None, but that was a fragile assumption.

Testing: Various WPT improvements
Fixes: #37898

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-07-07 15:25:15 +00:00
..
inline layout: Require specific layout info in BoxFragment::new() (#37917) 2025-07-07 15:25:15 +00:00
construct.rs layout: Add incremental box tree construction for inline floats and abspos (#37892) 2025-07-05 08:33:04 +00:00
float.rs layout: Unify logic for laying out replaced and non-replaced in a BFC (#37864) 2025-07-04 17:47:40 +00:00
mod.rs layout: Require specific layout info in BoxFragment::new() (#37917) 2025-07-07 15:25:15 +00:00
root.rs layout: Add a first pass at incremental box tree construction (#37751) 2025-07-03 08:13:20 +00:00