summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/transformed-mask.html
blob: 4abf01ec699a6141f8ee700f11dffaf8567f8d2b (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
<!DOCTYPE html>
<html>
<head>
    <style type="text/css" media="screen">
        .box {
            height: 100px;
            width: 100px;
            background-color: black;
            display: inline-block;
            margin: 20px;
            -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.2)));
        }

        .transformed {
            transform: rotate(10deg);
        }

        .transformed2 {
            transform: skewX(10deg);
        }
        
    </style>
</head>
<body>
    <p>You should not see any pixel artifacts around the reflections.</p>
    <div class="box"></div>
    <div class="transformed box"></div>
    <div class="transformed2 box"></div>
</body>
</html>