Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-inset-rounded-top-right.html
blob37773b05e6301cbf7c2ae232cd98fa62e197ad9d
1 <!DOCTYPE html>
2 <html>
3 <style>
4 .container {
5 font: 20px/1 Ahem, sans-serif;
6 width: 500px;
7 height: 200px;
8 border: 1px solid black;
11 .rounded-rect {
12 width: 320px;
13 height: 160px;
14 border: 1px solid blue;
15 border-top-right-radius: 200px 40px;
16 -webkit-shape-outside: inset(0px 0px 0px 0px round 0 200px 0 0 / 0 40px);
18 </style>
20 <body>
21 <div class="container">
22 X<br/>
23 <div style="float: left" class="rounded-rect"></div>
24 &nbsp;X<br/>
25 X<br/>
27 </div>
29 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 60px/40px top right radius.<br>
30 The black squares should trace the right side of the rounded rectangle's blue outline.
31 The second line contains a non-break space in order to avoid rounding/painting problems in the test.</p>
32 <p>Issue <a href="https://code.google.com/p/chromium/issues/detail?id=338523">338523</a>: [CSS Shapes] Support inset for shape-outside</p>
34 </body>
35 </html>