blob: 0d8d4747330883caae7a237bc6b9b314de4173d4 [file] [log] [blame]
<html>
<head>
</head>
<body>
<div id="target" style="height: 90px;">
<div style="height: 100px; width: 100px; background: red;">
<div style="float: left; height: 100px; width: 100px; background-color: green;"></div>
</div>
</div>
<script>
function test()
{
document.getElementById("target").style.height = "110px";
}
document.body.offsetTop;
test();
</script>
</body>
</html>