OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .flowContent { font-size: 50px; line-height: 2; color: green; font-f
amily: Ahem; } | |
6 #article { -webkit-flow-into: flow; } | |
7 | |
8 .regionSize { width: 250px; } | |
9 #region { -webkit-flow-from: flow; position: absolute; top: 100px; } | |
10 | |
11 .redBox { position: absolute; height: 50px; background-color: red; } | |
12 #red { top: 125px; } | |
13 #red1 { top: 225px; } | |
14 #red2 { top: 325px; } | |
15 </style> | |
16 </head> | |
17 <body> | |
18 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=910
97"> Auto height is not working for regions</a>.</p> | |
19 <p>The auto height region is the single region in the flow threa
d region chain, having region overflow auto.</p> | |
20 <p>On success, you should see 3 green lines.</p> | |
21 <div id="red" class="redBox regionSize"></div> | |
22 <div id="red1" class="redBox regionSize"></div> | |
23 <div id="red2" class="redBox regionSize"></div> | |
24 <div id="article" class="flowContent"> | |
25 <span style="background-color: green"> | |
26 a a a a a a a a a | |
27 </span> | |
28 </div> | |
29 <div id="region" class="regionSize"></div> | |
30 </body> | |
31 </html> | |
OLD | NEW |