blob: 9d2ebcddf1530c3667b114dd733ffb47c36009d7 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
<style type="text/css">
div.wide { width: 100px; height: 50px; }
div.tall { width: 50px; height: 100px; }
div.short { height: 50px; width: 50px; }
#main-content { float: left; width: 100px; height: 80px; }
#target3 { clear: both; height: 20px; background: green; }
</style>
</head>
<body">
<div style="position: absolute; border: medium solid green; top: 8px; height: 100px;">
<div id="target1">
<div class="wide"></div>
</div>
</div>
<div style="position: absolute; border: medium solid green; top: 158px; width: 100px;">
<div style="width: 50px" id="target2">
<div class="tall"></div>
</div>
</div>
<div style="position: absolute; top: 308px;">
<div style="background: green;">
<div style="position: relative;">
<div id="main-content">
</div>
</div>
<div id="target3"></div>
</div>
</div>
</body>
</html>