aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/reference/perspective-reftest.htm
blob: e64c93cbaefa2c22508ce045befe519762786f99 (plain) (blame)
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 href="mailto:anduga@gmail.com" rel="author" title="Andres Ugarte">
    <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>