servo/components/layout/flow
Oriol Brufau c00831f1ed
layout: Remove clearance parameter from BoxFragment::new() (#37921)
Clearance only applies to block-level boxes, so it was unnecessary to
require it as a parameter. Instead, in block layout we can set it using
the new `.with_clearance()` method.

Testing: Unnecessary (no behavior change)

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-07-08 10:04:37 +00:00
..
inline layout: Remove clearance parameter from BoxFragment::new() (#37921) 2025-07-08 10:04:37 +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: Remove clearance parameter from BoxFragment::new() (#37921) 2025-07-08 10:04:37 +00:00
root.rs layout: Add a first pass at incremental box tree construction (#37751) 2025-07-03 08:13:20 +00:00