mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Modifies a loop that collects clip rectangles to stop once a box with a CSS transform is encountered, as its clip still needs to be considered.
22 lines
375 B
HTML
22 lines
375 B
HTML
<!doctype html>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
}
|
|
.outer {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
border-radius: 9999px;
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
.inner {
|
|
position: absolute;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
width: 300px;
|
|
height: 300px;
|
|
background: mediumspringgreen;
|
|
}
|
|
</style><body><div class="outer"><div class="inner"></div>
|