mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 17:55:07 +00:00

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.
10 lines
222 B
HTML
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>
|