1 <script src="../../../resources/dump-as-markup.js"></script>
5 <div id="test" contenteditable="true"><span>foo</span></div>
7 <script src="../editing.js"></script>
8 <script src="../../resources/dump-as-markup.js"></script>
10 var s = window.getSelection();
11 var e = document.getElementById("test");
14 moveSelectionForwardByCharacterCommand();
15 insertHTMLCommand("<div>bar</div>baz");
17 Markup.description('This tests the last paragraph in the pasted fragment is merged with the content after the insertion position.\n'
18 + '"baz" and "oo" should be in the same paragraph below.');