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