summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/backdrop-filter-non-isolation-ref.html
blob: 229d6b4faadad52ddae75b1ad92e5600e588df67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Isolation</title>
<link rel="author" href="mailto:masonf@chromium.org">



<div>
  <p>Expected: Two green boxes overlapped by a yellow box. The overlapped region<br>
  of BOTH green boxes should be inverted (pink).</p>
</div>
<div class="box green"></div>
<div class="box green" style="left: 130px;"></div>
<div class="box yellow" style="width:160px;height:160px;top:140px;left:40px;"></div>
<div class="box orange" style="width:70px;height:70px;top:140px;left:40px;"></div>
<div class="box orange" style="width:70px;height:70px;top:140px;left:130px;"></div>

<style>
.box {
  position: absolute;
  width: 100px;
  height: 100px;
  top:110px;
  left:10px;
}
.green { background: green; }
.yellow { background: #880; }
.orange { background: #ffc377; }

</style>