<body>
    <p>
        This tests for a crash when removing a widget whose height is specified
        as a percentage of a non-immediate ancestor&rsquo;s height.
    </p>
    <div style="height: 50px; background: blue; width: 100px;" id="target">
        <div></div>
        <embed id="object" type="video/quicktime" style="height: 100%;">
    </div>
</body>
<script>
    document.body.offsetLeft;
    var object = document.getElementById("object");
    var parent = object.parentNode;
    parent.removeChild(object);
</script>
