Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-inset-rounded-bottom-right-expected.html
blob4d4a978a167375bd7deebbf4f0433bf40ef51d0d
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-bottom-right-radius: 200px 40px;
17 border: 1px solid blue;
20 #left-rounded-rect-outline {
21 position: absolute;
22 top: 20px;
25 .left-rounded-rect-float-line {
26 float: left;
27 clear: left;
28 height: 20px;
30 </style>
31 <body>
32 <div class="container">
33 X<br/>
34 <div id="left-rounded-rect-outline" class="rounded-rect"></div>
35 <!-- generated right-rounded-rect-float-line divs will be inserted here -->
36 X<br/>
37 X<br/>
38 X<br/>
39 X<br/>
40 X<br/>
41 X<br/>
42 X<br/>
43 &nbsp;X
44 </div>
45 <script src="../resources/rounded-rectangle.js"></script>
46 <script src="../resources/subpixel-utils.js"></script>
47 <script>
48 genLeftRoundedRectFloatShapeOutsideRefTest({
49 roundedRect: {x: 0, y: 22, width: 322, height: 160, rx: 200, ry: 40},
50 containerWidth: 500,
51 containerHeight: 200,
52 lineHeight: 20,
53 floatElementClassSuffix: "rounded-rect-float-line",
54 insertElementIdSuffix: "rounded-rect-outline",
55 corner: "lower"
56 });
57 </script>
59 <p>Requires Ahem font. There is a 0px size inset applied on the right float with 60px/40px bottom right radius.<br>
60 The black squares should trace the right side of the rounded rectangle's blue outline.
61 The last line contains a non-break space in order to avoid rounding/painting problems in the test.</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>
64 </body>
65 </html>