4 <script src="../editing.js"></script>
5 <script src="../../resources/dump-as-markup.js"></script>
8 Markup.waitUntilDone();
10 function editingTest() {
11 document.body.focus();
12 window.getSelection().setPosition(document.body, 0);
14 if (window.testRunner)
15 testRunner.dumpEditingCallbacks();
17 Markup.description('There was a bug when pasting at the end of the block.\n'+
18 'The content was inserted at the start of the block instead of the end. This tests the insert-at-end case.');
22 moveSelectionForwardByCharacterCommand();
23 insertParagraphCommand();
26 Markup.dump(document.body);
32 <body contenteditable id="test" onload="editingTest()">
33 <p><font face="Monaco"><b>hello</b></font></p>
34 <p><font face="Monaco"><b>there</b></font></p>