4 testRunner.dumpAsText();
7 var elem = document.getElementById("test");
8 // This will select from before <img> to after <br>.
9 window.getSelection().setBaseAndExtent(elem, 0, elem, 4);
10 document.execCommand('JustifyCenter', false, null);
13 Should not crash when selection start is unrooted (caused by reattachment of render objects).
14 <span id="test" contenteditable="true">