mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
Previously we were treating a definite 0% as zero, but a definite 100% that resolved into 0px as non-zero. That didn't make much sense, so this patch stops checking the computed values, and instead checks the layout values which have already resolved percentages. This also implies that we will now take `max-block-size` into account. This brings Servo closer to Blink, but differs from Gecko and WebKit. Testing: Adding new test Stylo PR: https://github.com/servo/stylo/pull/254 Signed-off-by: Oriol Brufau <obrufau@igalia.com>