Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/backdrop-filter-transform.html
<!DOCTYPE html> <meta charset="utf-8"> <meta name=fuzzy content="maxDifference=0-200; totalPixels=0-2000"> <title>backdrop-filter: backdrop-filter plus transform should be applied correctly</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-transform-ref.html"> <!--Expected: A green box with an overlapping rotated box that inverts content behind it. --> <div class="colorbox"></div> <div class="filterbox"></div> <style> div { position: absolute; width: 100px; height: 100px; left: 100px; top: 100px; } .colorbox { background: green; } .filterbox { top: 140px; backdrop-filter: invert(1); transform: rotate(30deg); border-radius: 10px; } </style>
/css/filter-effects/backdrop-filter-transform-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <div class="filterbox"> </div> <div class="colorbox"> <div class="invert"></div> </div> <style> div { position: absolute; width: 100px; height: 100px; left: 100px; top: 100px; } .colorbox { background: green; overflow: clip; } .filterbox { top: 140px; background: black; transform: rotate(30deg); border-radius: 10px; } .invert { top: 40px; left: 0; background: rgb(255, 127, 255); transform: rotate(30deg); border-radius: 10px; } </style>