blob: eabcd996697024260a5936f8f81a77f9d1decb48 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Should clip using border radius.</title>
<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org">
<div style="opacity: 0.9999;">
<div class="circle outside"></div>
<div class="circle inside"></div>
</div>
<style>
div {
position: absolute;
width: 100px;
height: 100px;
top: 10px;
left: 10px;
background: green;
}
.circle {
top: 30px;
left: 30px;
border-radius: 50px;
background: yellow;
will-change: transform;
}
.inside {
background: #ffd94d;
clip-path: inset(0px 30px 30px 0px);
will-change: transform;
}
.outside {
background: #ffff4d;
will-change: transform;
}
</style>