summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/backdrop-filter-plus-will-change-opacity.html
blob: 250a13e0f4227f25bee728fcc3cce25872ce84c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Correctly apply backdrop-filter with will-change opacity</title>
<link rel="author" href="mailto:pdr@chromium.org">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty">
<link rel="match" href="reference/backdrop-filter-plus-will-change-opacity-ref.html">

<p>Expected: A black box.</p>

<div id="filter"></div>

<style>
  #filter {
    width: 100px;
    height: 100px;
    backdrop-filter: invert(1);
    will-change: opacity;
  }
</style>