Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-image-threshold-001.html
blobcdbdbb0eb2b6d2114537400ae881e8dd11280ddb
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #image-shape {
6 float: left;
7 shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120px' height='50px'><rect x='0' y='0' width='120' height='50' fill='rgba(0,0,100, 0.5)'/></svg>");
8 shape-image-threshold: 0.4;
9 background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100px' height='50px'><rect x='0' y='0' width='100' height='50' fill='rgba(0,0,100, 0.5)'/></svg>");
10 background-repeat: no-repeat;
11 width: 150px;
12 height: 50px;
14 </style>
15 </head>
16 <body>
17 <p>The green "Hello World" should appear to the right of the blue rectangle.</p>
18 <div style="color: green">
19 <div id="image-shape"></div>
20 Hello World
21 </div>
22 </body>
23 </html>