<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>
