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