| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 .flowContentSize { width: 50px; height: 50px; } | |
| 6 #article { -webkit-flow-into: flow; background-color: green; } | |
| 7 | |
| 8 .expectedRegionSize { width: 50px; height: 50px; } | |
| 9 #red { background-color: red; } | |
| 10 | |
| 11 .regionSize { width: 50px; } | |
| 12 #region { -webkit-flow-from: flow; position: relative; top: -50p
x; } | |
| 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 with height auto.</p> | |
| 18 <p>On success, you should not see a red rectangle below.</p> | |
| 19 <div id="red" class="expectedRegionSize"></div> | |
| 20 <div id="article" class="flowContentSize"></div> | |
| 21 <div id="region" class="regionSize"></div> | |
| 22 <body> | |
| 23 </html> | |
| OLD | NEW |