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