2 #d1 span { float:right; }
4 <p>This tests for a hang on delete where a style rule would cause style spans in content moved after the delete to be displayed as blocks. You should see Hello<b>World</b> below.</p>
5 <div contenteditable="true">
6 <div id="d1">Hello</div>
7 <div id="d2" style="font-weight:bold">World</div>
11 d2 = document.getElementById("d2");
12 s = window.getSelection();
14 document.execCommand("Delete");