| <!doctype html> |
| <html> |
| <head> |
| <style> |
| .greenBox { position: absolute; width: 250px; height: 50px; background-color: green; } |
| #green { top: 150px; } |
| #green1 { top: 250px; } |
| </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. The flow has a forced break inside it that will determine the region height.</p> |
| <p>On success, you should see 2 green lines.</p> |
| <div id="green" class="greenBox"></div> |
| <div id="green1" class="greenBox"></div> |
| </body> |
| </html> |