summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-shapes/shape-outside/shape-box/reference/shape-outside-box-001-ref.html
blob: 628cf3d588bc7ca7f9c932ab78d53752c7d28bdb (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
36
37
38
39
<!DOCTYPE html>
<html>
    <head>
        <title>CSS Reference File</title>
        <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
    </head>
    <style>
       body {
           margin: 0;
       }
       #container {
           position: relative;
       }
       #line {
           position: absolute;
           top: 0px;
           left: 198px;
           width: 2px;
           height: 200px;
           border-left: 2px solid blue;
       }
       #square {
           position: absolute;
           top: 80px;
           left: 200px;
           width: 40px;
           height: 40px;
           background-color: green;
       }
    </style>
    <body>
        <p>The test passes if there is a green square to the right of the blue line. There should be no red.</p>
        <div id="container">
            <div id="line"></div>
            <div id="square"></div>
        </div>
    </body>
</html>