summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/reference/perspective-reftest.html
blob: c39661796a4129cb514cd632c5742177825fde2f (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>Reference File</title>
    <link rel="author" title="Andres Ugarte" href="mailto:anduga@gmail.com">
    <style type="text/css">
        .container {
            position: absolute;
            width: 150px;
            height: 150px;
            top: 100px;
            left: 100px;
        }
        .greenSquare {
            position: absolute;
            top: 0px;
            left: 0px;
            width: 150px;
            height: 150px;
            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>