blob: 922c98e20d27114ccde9a3b7f8d507b8a4b0d4c6 [file] [log] [blame]
<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>