servo/components/layout/flow
Oriol Brufau 5c597f98e0
layout: Floor free space by 0 in solve_inline_margins_avoiding_floats() (#37362)
`PlacementAmongFloats` should guarantee that the inline size of the
placement rect is at least as big as the inline size of the box,
resulting in a non-negative free space.

However, that may fail when dealing with huge sizes that need to be
saturated to MAX_AU, so this floors the free space by zero.

Testing: New crashtest
Fixes: #37312

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-06-10 09:05:09 +00:00
..
inline layout: Move text decoration propagation to stacking context tree construction (#37069) 2025-05-21 16:38:29 +00:00
construct.rs layout: Force outside ::marker to establish a BFC (#37252) 2025-06-06 16:01:27 +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: Split overflow calculation after fragment tree construction (#37203) 2025-05-30 19:41:05 +00:00