11 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
15 function editingTest() {
16 for (i
= 0; i
< 3; i
++) {
17 typeCharacterCommand();
19 for (i
= 0; i
< 2; i
++) {
20 moveSelectionForwardByCharacterCommand();
22 for (i
= 0; i
< 3; i
++) {
23 typeCharacterCommand();
25 for (i
= 0; i
< 2; i
++) {
26 moveSelectionForwardByCharacterCommand();
28 for (i
= 0; i
< 3; i
++) {
29 typeCharacterCommand();
35 <title>Editing Test
</title>
38 <div contenteditable
id=
"root" class=
"editing">
39 <span id=
"test">XXXX
</span>