| <!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"> |
| <link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty"> |
| <link rel="match" href="backdrop-filter-border-radius-ref.html"> |
| |
| <div style="opacity: 0.9999;"> |
| <div class="circle filter"></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; |
| } |
| .filter { |
| opacity: 0.7; |
| -webkit-backdrop-filter: invert(1); |
| backdrop-filter: invert(1); |
| } |
| </style> |