summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/backdrop-filter-fixed-clip-ref.html
blob: 38a8c8b253a9302f230fe5d4b073eac0d9a38df6 (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
43
44
45
46
47
48
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Should not filter outside of clip/scroll.</title>
<link rel="author" href="mailto:masonf@chromium.org">



<div style="width:600px;">
  <p>Expected: A green box, overlapping red box, and a small, inset cyan box. The<br>
  cyan should not extend to the bottom/right edges of the red box.</p>
</div>

<div id="A">
  <div id="B">
    <div id="F"></div>
    <div id="T"></div>
  </div>
</div>

<style>
div {
  position:absolute;
  width: 200px;
  height: 200px;
}
#A {
  overflow:hidden;
  top: 110px;
  left: 10px;
}
#B {

  background:green;
}
#F {
  position:fixed;
  background:#f008;
  top:150px;
  left:50px;
}
#T {
  background:#c0e3ff;
  top:90px;
  left:90px;
  width: 110px;
  height: 110px;
}
</style>