blob: 472d0ae129af9f2372eaf7b1748f8f486c03554b [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: backdrop-filter plus transform should be applied correctly</title>
<!--Expected: A green box with an overlapping rotated box that inverts content behind it. -->
<div class="colorbox"></div>
<div class="filterbox"></div>
<!-- TODO(978481): Convert this back to WPT test. See for
an implementation in WPT that is waiting for the WPT Fuzzy Matching feature.
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;