summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/overflow/overflow-update-transform.html
blob: e4a1ecf2820830ea3f99e8902e8aedf88e1d29b1 (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 type="text/css" media="screen">
        .container {
            overflow: scroll;
            height: 250px;
            width: 250px;
            margin: 10px;
            border: 1px solid black;
        }
        
        .contents {
            height: 250px;
            width: 250px;
            transform: rotate(45deg);
            background-color: silver;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="contents"></div>
    </div>

    <div class="container">
        <img class="contents">
    </div>
</body>
</html>