blob: 4ef7987953dd9254013801b645440920bd41ba8a [file] [log] [blame]
<span>Test moving all elements in iframe. The test passes if WebKit doesn't crash or hit an assertion.</span><div id=newParent role="text"><iframe id=subframe></iframe></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.body.offsetHeight;
subframe.contentWindow.document.execCommand("selectAll", false);
newParent.appendChild(subframe.contentWindow.document.getElementsByTagName("HTML")[0]);
</script>