blob: ab556c150efc2b9661f24678dea864f553560fd5 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
.greenBox { position: absolute; width: 250px; height: 150px; background-color: green; }
.greenBox2 { position: absolute; width: 250px; height: 50px; background-color: green; }
#green { top: 200px; }
#green1 { top: 200px; left: 600px; }
#green2 { top: 150px; left: 300px; }
</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,the second region is auto-height and the third region has specified height. The height of the second region is determined by the break from the second paragraph.</p>
<p>On success, you should see 2 green lines and 1 green rectangle.</p>
<div id="green" class="greenBox2"></div>
<div id="green1" class="greenBox2"></div>
<div id="green2" class="greenBox"></div>
</body>
</html>