summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-025-ref.html
blob: 0060369e95670e6c7d4b0d5ed96e5838c7b6c8c6 (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
32
33
34
35
<!DOCTYPE html>
<html>
<head>
    <title>CSS Reference File</title>
    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    <style type="text/css">
        body {
            margin: 0;
        }
        .green {
            top: 70px;
            left: 10px;
            width: 100px;
            height: 100px;
            background-color: rgb(0,100,0);
        }
        .blue {
            top: 50px;
            left: 60px;
            width: 2px;
            height: 140px;
            background-color: blue;
        }
        .green, .blue { position: absolute; }
    </style>
</head>
<body>
    <p>
        The test passes if there are two identical green rectangles on either side of the blue line.
        There should be no red.
    </p>
    <div class="green"></div>
    <div class="blue"></div>
</body>
</html>