Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / auto-size / autoheight-singleregion-overflowauto-breaksignored.html
1 <!doctype html>
2 <html>
3     <head>
4         <style>
5             .flowContent { font-size: 50px; color: green; font-family: Ahem; }
6             #article { -webkit-flow-into: flow; }
7             #p2 { -webkit-region-break-before: always; }
8             #p3 { -webkit-region-break-after: always; }
9
10             .regionSize { width: 250px; }
11             #region { -webkit-flow-from: flow; position: absolute; top: 100px; }
12
13              .redBox { position: absolute; width: 250px; height: 50px; background-color: red; }
14              #red  { top: 150px; }
15              #red1 { top: 250px; }
16              #red2 { top: 350px; }
17         </style>
18     </head>
19     <body>
20         <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Auto height is not working for regions</a>.</p>
21         <p>The auto height region is the single region in the flow thread region chain, having region overflow auto.</p>
22         <p>Breaks are ignored on this region and they do not contribute to the region height.</p>
23         <p>On success, you should see 3 green lines.</p>
24
25         <div id="red" class="redBox regionSize"></div>
26         <div id="red1" class="redBox regionSize"></div>
27         <div id="red2" class="redBox regionSize"></div>
28
29         <div id="article" class="flowContent">
30             <p id="p1">aaaaa</p>
31             <p id="p2">aaaaa</p>
32             <p id="p3">aaaaa</p>
33         </div>
34
35         <div id="region" class="regionSize"></div>
36     </body>
37 </html>