| <script src="../editing.js"></script> |
| <script src="../../resources/dump-as-markup.js"></script> |
| window.getSelection().setPosition(document.body, 0); |
| testRunner.dumpEditingCallbacks(); |
| Markup.description('There was a bug when pasting at the end of the block.\n'+ |
| 'The content was inserted at the start of the block instead of the end. This tests the insert-at-end case.'); |
| moveSelectionForwardByCharacterCommand(); |
| insertParagraphCommand(); |
| Markup.dump(document.body); |
| <body contenteditable id="test" onload="editingTest()"> |
| <p><font face="Monaco"><b>hello</b></font></p> |
| <p><font face="Monaco"><b>there</b></font></p> |