| 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 .expctedRegionSize { width: 50px; height: 50px; } | |
| 9 #red { background-color: red; } | |
| 10 | |
| 11 .regionSize { width: 50px; } | |
| 12 #region { -webkit-flow-from: flow; position: relative; top: -50px; d
isplay: inline-block; } | |
| 13 </style> | |
| 14 </head> | |
| 15 <body> | |
| 16 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Au
to height is not working for regions</a>.</p> | |
| 17 <p>The region is an inline-block element in normal flow</p> | |
| 18 <p>On success, you should not see a red rectangle below.</p> | |
| 19 <div id="red" class="expctedRegionSize"></div> | |
| 20 <div id="article" class="flowContentSize"></div> | |
| 21 <div id="region" class="regionSize"></div> | |
| 22 <body> | |
| 23 </html> | |
| OLD | NEW |