| 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: 250px; max-height: 100px; } |  | 
|   9             #region { -webkit-flow-from: flow; overflow: hidden; position: absol
    ute; top: 100px; } |  | 
|  10  |  | 
|  11             .expectedRegionSize { width: 250px; height: 50px;  } |  | 
|  12             #red { position: absolute; top: 150px; background-color:red; } |  | 
|  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 in normal flow, having max-height speci
    fied.</p> |  | 
|  18         <p>On success, you should see 1 green line.</p> |  | 
|  19         <div id="red" class="expectedRegionSize"></div> |  | 
|  20         <div id="article" class="flowContent"> |  | 
|  21             <span style="background-color: green"> |  | 
|  22                 a a a a a a a a a |  | 
|  23             </span> |  | 
|  24         </div> |  | 
|  25         <div id="region" class="regionSize"></div> |  | 
|  26     </body> |  | 
|  27 </html> |  | 
| OLD | NEW |