mirror of
https://github.com/servo/servo.git
synced 2025-10-02 09:39:14 +01:00
The `border-radius` property provides the radii for the border box. For the curvature of the padding and content boxes, we then subtract the border and padding sizes. However, we weren't flooring the result by zero, which could make the background completely disappear when using `background-clip: padding-box` or `background-clip: content-box`. Testing: Adding 4 new tests, but 2 of them fail in both Servo and Firefox. Fixes: #39540 Signed-off-by: Oriol Brufau <obrufau@igalia.com> |
||
---|---|---|
.. | ||
background.rs | ||
clip.rs | ||
conversions.rs | ||
gradient.rs | ||
hit_test.rs | ||
mod.rs | ||
stacking_context.rs |