blob: cb434a523b3eaa2a94deec932e99b0afb54b7695 [file] [log] [blame]
<html>
<body onload="runTest()">
<div style="width: 20px;">
<script>
function runTest()
{
document.body.offsetTop;
var container = document.getElementById('panel');
container.style.position = 'relative';
document.getElementById('test1').style.float = 'right';
document.getElementById('test2').style.position = 'absolute';
}
</script>
<div id="panel">
<div id="test1">
<img style="float: left; width: 20px; height: 100px; background-color: silver;">
</div>
<div id="test2" style="font-family: ahem;">
<a><p>A B C D</p>
</div>
</div>
</div>
</body>
</html>