11 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
15 function editingTest() {
16 for (i
= 0; i
< 2; i
++)
17 moveSelectionForwardByCharacterCommand();
18 for (i
= 0; i
< 4; i
++)
19 extendSelectionForwardByCharacterCommand();
25 <title>Editing Test
</title>
27 <body contenteditable
id=
"root" class=
"editing">
28 <div id=
"test"><b>one
</b></div><div><i>two
</i></div>
29 <div><b>three
</b><i>four
</i></div>