<!doctype html> | |
<html> | |
<head> | |
<style> | |
.expectedRegionSize { width: 250px; height: 50px; } | |
#green { position: absolute; top: 150px; background-color:green; } | |
</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 in normal flow, having max-height specified.</p> | |
<p>On success, you should see 1 green line.</p> | |
<div id="green" class="expectedRegionSize"></div> | |
</body> | |
</html> |