OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .flowContent { font-size: 50px; font-family: Ahem; line-height: 2; c
olor: green; } | |
6 #article { -webkit-flow-into: flow; padding-top: 25px; } | |
7 | |
8 .regionSize { width: 200px; min-height: 200px; } | |
9 #region { -webkit-flow-from: flow; position: absolute; top: 150px; b
ackground-color: green; } | |
10 | |
11 .expectedRegionSize { width: 200px; height: 200px; } | |
12 #red { position: absolute; background-color: red; top: 150px; } | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Aut
o height is not working for regions</a>.</p> | |
17 <p>The region is a block element, having min-height specified.</p> | |
18 <p>On success, you should see 1 green rectangle.</p> | |
19 <div id="red" class="expectedRegionSize"></div> | |
20 <div id="article" class="flowContent"> | |
21 <span style="background-color: green"> | |
22 a | |
23 </span> | |
24 </div> | |
25 <div id="region" class="regionSize"></div> | |
26 </body> | |
27 </html> | |
OLD | NEW |