| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>backdrop-filter: Correctly apply masks/clips to backdrop-filter content</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-plus-mask-ref.html"> |
| |
| <!--Expected: A black circle.--> |
| |
| <!-- TODO(978481): Convert this back to WPT test. See crbug.com/978481 for |
| an implementation in WPT that is waiting for the WPT Fuzzy Matching feature. |
| --> |
| |
| <div></div> |
| |
| <style> |
| div { |
| position: absolute; |
| top: 100px; |
| left: 50px; |
| width: 200px; |
| height: 200px; |
| backdrop-filter: invert(1); |
| clip-path: circle(100px at center); |
| } |
| </style> |