13 <script src=
"../editing.js"></script>
14 <script src=
"../../resources/dump-as-markup.js"></script>
15 <title>Editing Test
</title>
17 <body contenteditable
>
19 <div id=
"test" class=
"editing"><p>foo
</p><p>bar
</p></div>
23 window
.getSelection().collapse(document
.getElementById('test'), 0);
25 for (i
= 0; i
< 7; i
++)
26 extendSelectionForwardByCharacterCommand();
31 insertParagraphCommand();
34 Markup
.description('This test copies, deletes, and paste back <div id="test" class="editing"><p>foo</p><p>bar</p></div>\n'
35 + 'It then inserts the paragraph and pastes the contents again.');