summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/bg-fixed-in-css-filter.html
blob: 4f02252c663eadc6cd89bca2dc162448f98988fd (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
<!DOCTYPE html>
<html reftest-async-scroll>
<head>
    <meta charset="UTF-8">
    <title>Fixed background inside blur filter</title>
    <style>
        .scrollable {
            width: 100px;
            height: 100px;
            overflow: scroll;
            scrollbar-width: none;
        }
        .bg {
            width: 100px;
            height: 100px;
            background-image: url("repeatable-diagonal-gradient.png");
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        .blur {
            filter: blur(10px);
        }
    </style>
</head>
<body>
<div class="scrollable"
     reftest-displayport-x="0" reftest-displayport-y="0"
     reftest-displayport-w="100" reftest-displayport-h="200"
     reftest-async-scroll-x="0" reftest-async-scroll-y="100">
    <div class="bg"></div>
    <div class="bg blur"></div>
</div>
</body>
</html>