1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 17:55:07 +00:00
serenity/Tests/LibWeb/Layout/input/overflow-x-hidden-with-border-radius.html
Aliaksandr Kalenik 7ddacef3b5 LibWeb: Apply border-radius clip only if overflow hidden for both axis
Before this change `apply_clip_overflow_rect` might crash trying to
access `clip_rect` that does not have value because we currently
support calculation of visible rectangle when `overflow: hidden`
is applied for both axis.
2023-03-19 19:04:51 +01:00

10 lines
222 B
HTML

<style>
.box {
border: 1px solid black;
width: 100px;
height: 100px;
border-radius: 9999px;
overflow-x: hidden;
position: relative;
}
</style><div class="box"></div>