blob: 29f5dc5146fbed944d6f4b8c74043947322f685f (
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
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Edge behavior</title>
<link rel="author" href="mailto:masonf@chromium.org">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty">
<link rel="help" href="https://crbug.com/1165868">
<link rel="match" href="backdrop-filter-edge-behavior-ref.html">
<div>
<p>Expected: The black box inside the red box should not contain any red.</p>
</div>
<div id=scroller>
<div class=filler></div>
<div id=backdrop></div>
<div class=filler></div>
</div>
<style>
#scroller {
width: 250px;
height: 250px;
overflow: scroll;
border: 6px solid red;
}
#scroller::-webkit-scrollbar {
width: 0px;
}
#backdrop {
height: 200px;
width: 200px;
backdrop-filter: blur(10px);
border: 1px solid black;
}
.filler {
position: relative;
left: 50px;
width: 100px;
height: 100px;
}
</style>
<script>
scroller.scrollTop = 103;
</script>
|