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 typeCharacterCommand(' ');
24 for (i
= 0; i
< 6; i
++)
25 typeCharacterCommand();
26 moveSelectionBackwardByWordCommand();
27 moveSelectionBackwardByWordCommand();
28 extendSelectionForwardByWordCommand();
34 <title>Editing Test
</title>
37 <div contenteditable
id=
"root" class=
"editing">
38 <span id=
"test"></span>
42 runDumpAsTextEditingTest();