summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/compositing/background-blend-mode-single-accelerated-element.html
blob: 7a8aa2c6725db622985578032f2433dfecc1f9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE HTML>
<html>
<head>
<style>
    div {
        width: 200px;
        height: 200px;
        -webkit-transform: rotateY(30deg) rotateX(-30deg);
        background: url("resources/white_square.svg") no-repeat, rgba(55, 55, 99, 1);
        background-blend-mode: difference;
    }

    body {
        background: green;
    }

</style>
<!-- Test to validate that background blending is working properly for hardware accelerated elements.
    This also validates that background layers don't blend with any of the content below the accelerated element. -->
</head>
<body>
    <div></div>
</body>