Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-inset-rounded-bottom-left-expected.html
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;
11 }
12
13 .rounded-rect {
14     width: 320px;
15     height: 160px;
16     border-bottom-left-radius: 60px 40px;
17     border: 1px solid blue;
18 }
19
20 #right-rounded-rect-outline {
21     position: absolute;
22     top: 20px;
23     right: 0px;
24 }
25
26 .right-rounded-rect-float-line {
27     float: right;
28     clear: right;
29     height: 20px;
30 }
31 </style>
32 <body>
33 <div class="container" style="text-align: right">
34 X<br/>
35     <div id="right-rounded-rect-outline" class="rounded-rect"></div>
36     <!-- generated right-rounded-rect-float-line divs will be inserted here -->
37 X<br/>
38 X<br/>
39 X<br/>
40 X<br/>
41 X<br/>
42 X<br/>
43 X<br/>
44 X
45 </div>
46 <script src="../resources/rounded-rectangle.js"></script>
47 <script src="../resources/subpixel-utils.js"></script>
48 <script>
49 genRightRoundedRectFloatShapeOutsideRefTest({
50     roundedRect: {x: 0, y: 22, width: 322, height: 160, rx: 60, ry: 40},
51     containerWidth: 500,
52     containerHeight: 200,
53     lineHeight: 20,
54     floatElementClassSuffix: "rounded-rect-float-line",
55     insertElementIdSuffix: "rounded-rect-outline",
56     corner: "lower"
57 });
58 </script>
59
60 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 60px/40px bottom left radius.<br>
61 The black squares should trace the left side of the rounded rectangle's blue outline.</p>
62 <p>Issue <a href="https://code.google.com/p/chromium/issues/detail?id=338523">338523</a>: [CSS Shapes] Support inset for shape-outside</p>
63
64 </body>
65 </html>