servo/components/layout/flow
Oriol Brufau b01bb462b6
layout: Recreate lazy block size when re-doing layout to avoid floats (#38366)
Block-level boxes that establish an independent formatting context need
to avoid overlapping floats. If their inline size stretches, then we may
need to lay out multiple times.

The problem was that when trying with a different inline size, the
intrinsic block size can change, but we were using the cached final
block size from the previous attempt.

Testing: Adding new test
Fixes: #38365

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-08-04 17:07:10 +00:00
..
inline layout: Make IndependentFormattingContext::contents private (again) (#38350) 2025-07-30 12:55:32 +00:00
construct.rs layout: Add incremental box tree construction for inline boxes (#38084) 2025-07-25 11:49:46 +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: Recreate lazy block size when re-doing layout to avoid floats (#38366) 2025-08-04 17:07:10 +00:00
root.rs layout: Fix depends_on_block_constraints logic (#38318) 2025-07-29 09:59:54 +00:00