servo/components/layout/flow
Oriol Brufau 4ee7a34f32
layout: Unify logic for laying out replaced and non-replaced in a BFC (#37864)
The logic for laying out block-level replaced elements wasn't taking
floats into account when resolving a `stretch` inline size. By handling
them with the same logic as non-replaced elements, we fix that problem,
and reduce the amount of code.

Testing: Adding new tests
Fixes: #37861

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-07-04 17:47:40 +00:00
..
inline layout: Add incremental box tree construction for inline floats and abspos (#37868) 2025-07-04 14:30:00 +00:00
construct.rs layout: Add incremental box tree construction for inline floats and abspos (#37868) 2025-07-04 14:30:00 +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: Unify logic for laying out replaced and non-replaced in a BFC (#37864) 2025-07-04 17:47:40 +00:00
root.rs layout: Add a first pass at incremental box tree construction (#37751) 2025-07-03 08:13:20 +00:00