Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-rounded-inset.html
1 <html>
2 <head>
3 <style>
4 .container {
5     position: absolute;
6     top: 0px;
7     left: 0px;
8     font: 50px / 1 Ahem, sans-serif;
9     color: red;
10 }
11 .shape-outside {
12     shape-outside: inset(0px round 0 100% 0 0/ 0 100% 0 0);
13     width: 200px;
14     height: 200px;
15     float: left;
16 }
17 .overlay {
18     background-color: green;
19     width: 200px;
20     height: 200px;
21 }
22 </style>
23 </script>
24 </head>
25 <body>
26 <div class='container'>
27     <div class='shape-outside'></div>
28     x
29 </div>
30 <div class='container overlay'></div>
31
32 <p style="margin-top: 210px;">The content should wrap around the rounded inset. If the rounded inset is processed correctly, then
33 the red rectangle should be wrapped around the rounded edge, thus you should see only a green rectangle.</p>
34 <p><a href="https://code.google.com/p/chromium/issues/detail?id=341584">Issue 341584</a>: [CSS Shapes] Rounded Insets Let Content Overlap Shape</p>
35 </p>
36 </body>
37 </html>