blob: abad6ef53016d6e60b4a95f51c8c4df6c524d313 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
.flowContent { font-size: 50px; font-family: Ahem; line-height: 2; color: green; }
#article { -webkit-flow-into: flow; padding-top: 25px; }
.regionSize { width: 200px; min-height: 200px; }
#region { -webkit-flow-from: flow; position: absolute; top: 150px; background-color: green; }
.expectedRegionSize { width: 200px; height: 200px; }
#red { position: absolute; background-color: red; 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, having min-height specified.</p>
<p>On success, you should see 1 green rectangle.</p>
<div id="red" class="expectedRegionSize"></div>
<div id="article" class="flowContent">
<span style="background-color: green">
a
</span>
</div>
<div id="region" class="regionSize"></div>
</body>
</html>