summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/reference/shape-image-021-ref.html
blob: 826f5275d9985b81068a4e72de69aa6058360c7a (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
<!DOCTYPE html>
<html>
<head>
    <title>CSS Reference File</title>
    <link rel="author" title="Hans Muller" href="mailto:hmuller@adobe.com"/>
    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
    <style type="text/css">
        #container {
          position: relative;
          width: 200px;
          padding-left: 90px;
          font-family: Ahem;
          font-size: 40px;
          color: green;
        }
        #image {
          position: absolute;
          top: 0px;
          left: 100px;
          float: right;
          margin-bottom: 20px;
        }
    </style>
</head>
<body>
    <p>The test passes if no red is visible.</p>
    <div id="container">
        <img id="image" src="../support/right-half-rectangle.png"/>
        X<br>X<br>X<br><span style="padding-left: 70px">X</span>
    </div>
</body>
</html>