summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-iframe-scroll-position-ref.html
blob: e4d5da75d7a762b6c346640b2c72339a52d350ab (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>
    <title>CSS Test (Transforms): iframe scroll position</title>
    <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
    <style>
        #iframe {
            border: 0;
            width: 50px;
            height: 50px;
            border: solid;
        }

        #iframe div {
            width: 25px;
            height: 50px;
            float: left;
        }

        .rotate {
            transform: rotate(90deg);
        }
    </style>
    <body onload="onLoad();">
        <div id="iframe">
            <div style="background: blue;"></div>
            <div style="background: green;"></div>
        </div>
    </body>
</html>