summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/backdrop-filter-basic-background-color-ref.html
blob: 4997007f0bf858986b8f0fbbe8348153cfee1dd6 (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
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Basic operation of filter with background color</title>
<link rel="author" href="mailto:masonf@chromium.org">



<div>
  <p>Expected: A green box and an overlapping blue box, with a purple<br>
  overlapping region.</p>
</div>
<div class="colorbox"></div>
<div class="box2outside"></div>
<div class="box2inside"></div>

<style>
.colorbox {
    position: absolute;
    background: green;
    width: 100px;
    height: 100px;
    left: 10px;
    top: 100px;
}
.box2outside {
    background: #000088;
    position: absolute;
    width: 100px;
    height: 100px;
    left: 60px;
    top: 150px;
}
.box2inside {
    background: #773bff;
    position: absolute;
    width: 50px;
    height: 50px;
    left: 60px;
    top: 150px;
}
</style>