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-expected.html
blobcd077a2a84acd2ee1efcec0274034e54b872949d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .container {
6 position: relative;
7 font: 20px/1 Ahem, sans-serif;
8 width: 500px;
9 height: 200px;
10 border: 1px solid black;
13 .rounded-rect {
14 width: 320px;
15 height: 160px;
16 border-radius: 80px;
17 background-color: blue;
20 #right-rounded-rect-outline {
21 position: absolute;
22 top: 20px;
23 right: 0px;
27 .right-rounded-rect-float-line {
28 float: right;
29 clear: right;
30 height: 20px;
32 </style>
33 <body>
34 <div class="container" style="text-align: right">
35 X<br/>
36 <div id="right-rounded-rect-outline" class="rounded-rect"></div>
37 <!-- generated right-rounded-rect-float-line divs will be inserted here -->
38 X<br/>
39 X<br/>
40 X<br/>
41 X<br/>
42 X<br/>
43 X<br/>
44 X<br/>
45 X<br/>
47 </div>
48 <script src="../resources/rounded-rectangle.js"></script>
49 <script src="../resources/subpixel-utils.js"></script>
50 <script>
51 genRightRoundedRectFloatShapeOutsideRefTest({
52 roundedRect: {x: 0, y: 20, width: 320, height: 160, rx: 80, ry: 80},
53 containerWidth: 500,
54 containerHeight: 200,
55 lineHeight: 20,
56 floatElementClassSuffix: "rounded-rect-float-line",
57 insertElementIdSuffix: "rounded-rect-outline",
58 });
59 </script>
61 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 200px radius.<br>
62 The black squares should trace the left side of the rounded rectangle's blue outline.</p>
63 <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>
65 </body>
66 </html>