mirror of
https://github.com/servo/servo
synced 2026-05-11 17:37:21 +02:00
The old logic had the problem that, if the total violation was zero, we would just freeze all items without clamping their target main size between the min and max sizes. This patch refactors the logic to make it simpler. Testing: Adding new WPT Fixes: #41289 Signed-off-by: Oriol Brufau <obrufau@igalia.com>