<html>
<head>
    <title>Test for rdar://problem/5609337</title>
</head>
<body>
    <div style="z-index: -1; position: absolute; top: 58px; left: 8px; background-color: red; width: 100px; height: 50px;"></div>
    <div style="height: 50px;">
        <div style="float: left; display: block; width: 100px; height: 150px; background-color: green;" id="target">
        </div>
    </div>
    <div>
        <div><div style="display: inline-block; width: 100px; height: 50px; background-color: green;"></div></div>
    </div>
    <script>
        document.body.offsetTop;
        document.getElementById("target").style.height = "50px";
    </script>
</body>
</html>
