| <!doctype html> |
| <html> |
| <head> |
| <style> |
| .flowContentSize { width: 50px; height: 50px; } |
| #article { -webkit-flow-into: flow; background-color: green; } |
| |
| .expectedRegionSize { width: 50px; height: 50px; } |
| #red { background-color: red; position: absolute; top: 100px; } |
| |
| .regionSize { width: 50px; } |
| #region { -webkit-flow-from: flow; position: absolute; top: 100px; } |
| </style> |
| </head> |
| <body> |
| <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Auto height is not working for regions</a>.</p> |
| <p>The region is a block element, absolutely positioned.</p> |
| <p>On success, you should not see a red rectangle below.</p> |
| <div id="red" class="expectedRegionSize"></div> |
| <div id="article" class="flowContentSize"></div> |
| <div id="region" class="regionSize"></div> |
| </body> |
| </html> |