Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-image-margin-004.html
blobef3aab2ebc653a034ba8e72a3fd4ec8bec6c9096
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #content {
6 font: 25px/1 Ahem, sans-serif;
7 color: green;
10 #image-shape {
11 float: left;
12 shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px'><rect width='100' height='100' fill='green'/></svg>");
13 shape-margin: 100px; /* overflow the margin box */
14 width: 100px;
15 height: 100px;
16 margin: 25px;
17 background-color: blue;
19 </style>
20 </head>
21 <body>
22 <p>The green rectangles should wrap around the blue 100x100 rectangle and a 25 pixel margin.</p>
23 <div id="content">
24 <div id="image-shape"></div>
25 X<br>X<br>X<br>X<br>X<br>X<br>X
26 </div>
27 </body>
28 </html>