<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.setProperty("-webkit-column-count", "3"); | |
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> |