Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / imported / csswg-test / css-shapes-1 / spec-examples / shape-outside-003-expected.html
blob2298360a5901a9a084c9996b74031e5c2d25259d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS Reference File</title>
5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
6 <style type="text/css">
7 body {
8 margin-left: 0;
10 #container {
11 position: absolute;
12 top: 60px;
13 text-align: center;
14 font-family: Ahem;
15 font-size: 20px;
16 color: green;
17 line-height: 1em;
19 #level-1 {
20 width: 400px;
21 height: 80px;
23 #level-2 {
24 width: 200px;
25 height: 40px;
26 margin-left: 100px;
28 #level-3 {
29 width: 100px;
30 height: 40px;
31 margin-left: 150px;
33 #level-4 {
34 width: 50px;
35 height: 20px;
36 margin-left: 175px;
38 #level5 {
39 width: 400px;
40 height: 20px;
42 #left-triangle, #right-triangle {
43 position: absolute;
44 top: 60px;
45 width: 200px;
46 height: 200px;
47 background-color: lightblue;
49 #left-triangle {
50 clip-path: polygon(0 0, 200px 200px, 0 200px);
52 #right-triangle {
53 left: 200px;
54 clip-path: polygon(200px 0, 200px 200px, 0 200px);
56 </style>
57 </head>
58 <body>
59 <p>
60 The test passes if the green shape does not intersect either of the triangles and
61 there is one green horizontal bar beneath the triangles. There should be no red.
62 </p>
63 <div id="container">
64 <div id="level-1">
65 XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXX
66 </div>
67 <div id="level-2">
68 XXXXXXXXX XXXXXXX
69 </div>
70 <div id="level-3">
71 XXXXX XXX
72 </div>
73 <div id="level-4">
75 </div>
76 <br>
77 <div id="level-5">
78 XXXXXXXXXXXXXXXXX
79 </div>
80 </div>
81 <div id="left-triangle"></div>
82 <div id="right-triangle"></div>
83 </body>
84 </html>