summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/reference/transform-translatex-006-ref.html
blob: a1cee2aa91eb9ba2928ef5b7e2d0cb152cebebe0 (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
<!DOCTYPE html>
<html>
<head>
    <title>CSS Tranforms Reference File</title>
    <link rel="author" title="Serena Wales" href="mailto:serena@codeforamerica.org">
    <style type="text/css">
        .container {
            position: absolute;
        }
        .greenSquare {
            position: absolute;
            width: 100px;
            height: 100px;
            /* Position the div so its identical to the div in the test file */
            /* Add fill color to match the test file */
            top: 0px;
            left: 50px;
            background: green;
        }
    </style>
</head>
<body>
    <p>The test passes if there is a green square and no red.</p>
    <div class="container">
        <div class="greenSquare"></div>
    </div>
</body>
</html>