blob: 50fb2b1f50d9179835eb1ffdbf995fc6a22fb9ff [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
.greenBox { position: absolute; width: 250px; height: 150px; background-color: green; }
#green { top: 150px; }
</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 (break before) but also a min-height value (bigger than the break offset) that is used to determine the region height.</p>
<p>On success, you should see 1 green rectangle.</p>
<div id="green" class="greenBox"></div>
</body>
</html>