blob: ae226aa7bae93261b5d44111012a1ade53aada12 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
</script>
<style>
div { -webkit-flow-into: content-flow; }
* { -webkit-flow-into: thread; }
</style>
<body onload="shuffle()"><p>PASS if no assert or crash.</p><div>content</div>foobar</body>
<script>
document.execCommand("SelectAll");
</script>
<script>
function shuffle() {
var element = document.getElementsByTagName("div")[0];
element.parentNode.removeChild(element);
document.body.offsetTop;
if (window.testRunner)
testRunner.notifyDone();
}
</script>