summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/backgrounds/transformed-body-html-background.html
blob: 8daca30f406f5f5da25006aa2b51656c8d4bef27 (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>

<html>
<head>
    <style>
        html {
            background: gray;
        }
        
        body {
            transform: rotate(20deg);
            -webkit-transform-origin: top left;
            background-color: silver;
            overflow: hidden;
        }
        
        .contents {
            height: 1200px;
            width: 100%;
            border: 1px solid black;
        }
    </style>
    <script>
        if (window.testRunner)
            testRunner.dumpAsTextWithPixelResults();
    </script>
</head>
<body>
    <div class="contents"></div>
</body>
</html>