summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/compositing/background-blend-mode-overlapping-accelerated-elements-expected.html
blob: ba541bcc02e30abd87968f5a447f9e4d73aa63db (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
<!DOCTYPE HTML>
<html>
<head>
<style>
    div {
        width: 160px;
        height: 160px;
        -webkit-transform: rotateY(30deg) rotateX(-30deg);
        color: black;
    }

    .a {
        background: rgba(200, 200, 156, 1);
    }

    .b, .c {
        width: 120px;
        height: 120px;
    }

    .b {
        background: rgba(55, 55, 99, 1);
        color: yellow;
    }

    .c {
        background: rgba(155, 155, 199, 1);
        color: white;
        margin-top: -90px;
    }

</style>
</head>
<!-- Test to validate that background blending is working properly for series of hardware accelerated elements. -->
<body>
    <div class="a">sample<div class="b">sample</div></div>

    <div class="a">sample<div class="b">sample</div>sample<div class="c">sample</div></div>

    <div class="a">sample
        <div class="b">sample</div>
        <div class="c" style="position:absolute; z-index: -1;">sample sample sample sample sample sample sample sample sample sample sample sample</div>
    </div>
</body>