1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 11:45:11 +00:00
serenity/Tests/LibWeb/Layout/input/misc/corner-radius.html
Aliaksandr Kalenik 64a48065b0 LibWeb: Check if corners have radius after converting to device pixels
Check needs to happen after conversion because non-zero radius in
CSSPixels could turn into zero in device pixels.

Fixes https://github.com/SerenityOS/serenity/issues/22765
2024-01-15 15:21:17 +01:00

10 lines
No EOL
219 B
HTML

<!doctype html><style>
body {
width: 1px;
}
div {
border-radius: 8px;
overflow: hidden;
}
/* Test passes if it renders without crashing. */
</style><body><div><img>