11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
15 function editingTest() {
18 for (i = 0; i < 6; i++)
19 typeCharacterCommand();
20 typeCharacterCommand(' ');
21 for (i = 0; i < 6; i++)
22 typeCharacterCommand();
23 insertParagraphCommand();
24 typeCharacterCommand(' ');
25 for (i = 0; i < 6; i++)
26 typeCharacterCommand();
27 typeCharacterCommand(' ');
28 for (i = 0; i < 6; i++)
29 typeCharacterCommand();
30 moveSelectionBackwardByWordCommand();
31 moveSelectionBackwardByWordCommand();
32 moveSelectionBackwardByWordCommand();
33 extendSelectionForwardByWordCommand();
34 extendSelectionForwardByWordCommand();
40 <title>Editing Test</title>
43 <div contenteditable id="root" class="editing">
44 <span id="test"></span>
48 runDumpAsTextEditingTest();