Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / shape-inside / shape-inside-on-regions-inline-content-overflow-multiple-shapes.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4     <style>
5         #rectangle {
6             font: 20px Ahem, sans-serif;
7             -webkit-font-smoothing: none;
8             line-height: 20px;
9             -webkit-flow-into: flow;
10         }
11         .region {
12             -webkit-flow-from: flow;
13             width: 200px;
14             height: 200px;
15             border: 2px solid green;
16         }
17         #region1 { shape-inside: rectangle(50px, 50px, 100px, 100px); }
18         #region2 {
19             margin-top: 10px;
20             shape-inside: rectangle(25px, 50px, 140px, 100px);
21         }
22         #border1 {
23             position: absolute;
24             top: 58px;
25             left: 58px;
26             width: 100px;
27             height: 100px;
28             border: 2px solid blue;
29         }
30         #border2 {
31             position: absolute;
32             top: 272px;
33             left: 33px;
34             width: 140px;
35             height: 100px;
36             border: 2px solid blue;
37         }
38     </style>
39 </head>
40 <body>
41     <div id="rectangle">
42        X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
43     </div>
44
45     <div id="page">
46         <div id="border1"></div>
47         <div id="region1" class="region"></div>
48         <div id="border2"></div>
49         <div id="region2" class="region"></div>
50     </div>
51     <p style="margin-top: 50px;">Requires Ahem font. There are two regions with two ractangle shape-insides, the shape-insides are smaller and have top and left offsets inside the content box. The rectangular shapes boundaries are represented by the blue rectangles. The inline content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box</p>
52     <p>Bug <a href="http://webkit.org/b/116252">116252</a> [CSS Regions][CSS Exclusions] shape-inside on regions should respect positioned shapes and overflow</p>
53 </body>
54 </html>