Status: FAIL | Duration: 17ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/backdrop-filter-containing-block.html
<!DOCTYPE html> <meta charset="utf-8"> <title>backdrop-filter: Forms a containing block for fixed/absolute</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-containing-block-ref.html"> <p>Expected: one green square and one red square, both 200px by 200px.</p> <div class="container"> <div class="fixed-child"></div> <div class="absolute-child"></div> </div> <style> .container { width: 200px; backdrop-filter: invert(1); } .fixed-child { position: fixed; top: 0; background-color: green; width: 100%; height: 200px; } .absolute-child { position: absolute; top: 0; left: 210px; background-color: red; width: 100%; height: 200px; } </style>
/css/filter-effects/backdrop-filter-containing-block-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>backdrop-filter: Forms a containing block for fixed/absolute</title> <link rel="author" href="mailto:masonf@chromium.org"> <p>Expected: one green square and one red square, both 200px by 200px.</p> <div class="container"> <div class="fixed-child"></div> <div class="absolute-child"></div> </div> <style> .container { width: 200px; will-change: transform; } .fixed-child { position: fixed; top: 0; background-color: green; width: 200px; height: 200px; } .absolute-child { position: absolute; top: 0; left: 210px; background-color: red; width: 200px; height: 200px; } </style>