Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-inset-rounded-large-radius.html
blob8b98338a73de7d04558f169c98b3b1829a8ebc44
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 background-color: blue;
15 border-radius: 200px;
16 shape-outside: inset(0px round 200px);
18 </style>
20 <script src="../../../resources/ahem.js"></script>
21 <body>
22 <div class="container" style="text-align: right">
23 X<br/>
24 <div style="float: right" class="rounded-rect"></div>
25 X<br/>
26 X<br/>
27 X<br/>
28 X<br/>
29 X<br/>
30 X<br/>
31 X<br/>
32 X<br/>
34 </div>
36 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 200px radius.<br>
37 The black squares should trace the left side of the rounded rectangle's blue outline.</p>
38 <p>Bug <a href="https://code.google.com/p/chromium/issues/detail?id=351775">351775</a>: [CSS Shapes] inset does not properly clamp large corner radii</p>
40 </body>