Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/backdrop-filter-basic-opacity.html
<!DOCTYPE html> <meta charset="utf-8"> <title>backdrop-filter: Basic operation of filter with opacity</title> <link rel="author" href="mailto:masonf@chromium.org"> <link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty"> <link rel="match" href="backdrop-filter-basic-opacity-ref.html"> <div> <p>Expected: Just a single green box.</p> </div> <div class="colorbox"> <div class="filterbox"></div> </div> <style> .colorbox { position: absolute; background: green; width: 100px; height: 100px; left: 10px; top: 100px; } .filterbox { position: absolute; width: 100px; height: 100px; left: 50px; top: 50px; backdrop-filter: invert(1); opacity: 0; } </style>
/css/filter-effects/backdrop-filter-basic-opacity-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>backdrop-filter: Basic operation of filter with opacity</title> <link rel="author" href="mailto:masonf@chromium.org"> <div> <p>Expected: Just a single green box.</p> </div> <div class="colorbox"></div> <style> .colorbox { position: absolute; background: green; width: 100px; height: 100px; left: 10px; top: 100px; } </style>