blob: e9d12843c3b12c595be1cb925b970ac7c0a72253 [file] [edit]
<!DOCTYPE html>
<div id="removed">text <span>inline box</span> <iframe style="width: 10px; height: 10px"></iframe> <span>inline box</span> text</div>
<div id="hidden">text <span>inline box</span> <iframe style="width: 10px; height: 10px"></iframe> <span>inline box</span> text</div>
<p>PASS if no crash or assert.</p>
<script>
window.testRunner?.dumpAsText();
document.body.offsetHeight;
document.getElementById("removed").remove();
document.getElementById("hidden").style.display = "none";
document.body.offsetHeight;
</script>