mirror of
https://github.com/servo/servo.git
synced 2025-10-14 15:30:27 +01:00
It's typically a given that the min-content size can't exceed the max-content size. However, it was possible to break that assumption when an inline formatting context had contents with a negative outer size (due to margins). This could lead to assert failures. This patch avoids the problem by flooring the max-content size to not be smaller than the min-content size. Note there is no interoperability: https://github.com/w3c/csswg-drafts/issues/12076 Testing: adding new reftest and crashtest Fixes: #36481 Signed-off-by: Oriol Brufau <obrufau@igalia.com> |
||
|---|---|---|
| .. | ||
| construct.rs | ||
| inline_box.rs | ||
| line.rs | ||
| line_breaker.rs | ||
| mod.rs | ||
| text_run.rs | ||