1 <script src="../../resources/dump-as-markup.js"></script>
8 <p id="description">The code in paste that prevents block nesting had a bug where the order of pasted paragraphs could be reversed.</p>
9 <div id="test" contenteditable="true"><br></div>
12 if (window.testRunner)
13 testRunner.dumpEditingCallbacks();
15 var s = window.getSelection();
16 var e = document.getElementById("test");
19 document.execCommand("InsertHTML", false, "There should be an empty line between these two paragraphs.<span><div><br></div></span><div>This paragraph and the empty line should have be in their own divs with a red border.</div>");
21 Markup.description(document.getElementById('description').textContent);