summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/calc/simple-composited-mask-expected.html
blob: c0909452e05d4113818f6b31f6dac88ecf529ca7 (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>
<style>
    #container {
        height: 760px;
        width: 260px;
        border: solid black;
        display: inline-block;
    }
    .box {
        position: relative;
        width: 200px;
        height: 200px;
        margin: 30px;
        border: 10px solid black;
        background-color: rgba(100, 100, 255, 0.8);
        -webkit-box-sizing: border-box;
        -webkit-box-shadow: black 0 4px 4px;
    }

    #container .masked {
        -webkit-mask-image: url(resources/alpha-gradient.png);
        -webkit-mask-repeat: repeat;
        -webkit-mask-size: 50px;
    }
</style>
<p>Testing masks on compositing layers.</p>
<div id="container">
    <div class="masked box"></div>
    <div class="masked box"></div>
    <div class="masked box"></div>
</div>