4 <script src="../../resources/dump-as-markup.js"></script>
5 <div id="div" contenteditable="true"><b>foo</b><div><br></div><div><br></div></div>
8 var div = document.getElementById("div");
10 document.execCommand("SelectAll");
11 document.execCommand("RemoveFormat");
13 Markup.description('This tests for a bug where RemoveFormat would reverse the order of paragraphs. Bug: the caret is not on the last line but it should be.');