| <!doctype html> |
| <html> |
| <head> |
| <style> |
| .greenBox { position: absolute; width: 250px; height: 50px; background-color: green; } |
| #green { top: 200px; } |
| #green1 { top: 300px; } |
| #green2 { top: 200px; left: 350px; } |
| </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 first region has specified height and the second region is auto-height. The height of the second region is determined by the remaining content from the flow that did not fit in the first region.</p> |
| <p>On success, you should see 2 green lines on the left and 1 green line on the right.</p> |
| <div id="green" class="greenBox"></div> |
| <div id="green1" class="greenBox"></div> |
| <div id="green2" class="greenBox"></div> |
| </body> |
| </html> |