Files
Oriol Brufau 5a54a77f7b Bug 1992122 [wpt PR 55139] - layout: Avoid negative corner radii values for border-radius, a=testonly
Automatic update from web-platform-tests
layout: Avoid negative corner radii values

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`.

Signed-off-by: Oriol Brufau <[email protected]>

--

wpt-commits: a775d52af094c0c1bc41eacab0a1e9d9ac19bca8
wpt-pr: 55139
2025-10-14 16:09:05 +00:00
..