10 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
14 function editingTest() {
15 for (i
= 0; i
< 10; i
++)
16 moveSelectionForwardByCharacterCommand();
17 extendSelectionForwardByLineCommand();
18 for (i
= 0; i
< 11; i
++)
19 extendSelectionForwardByCharacterCommand();
25 <title>Editing Test
</title>
27 <body contenteditable
id=
"root">
28 <div id=
"test" class=
"editing">There is a tide
<br>in the affairs of men
</div>
29 <div class=
"editing">Which taken at the flood
</div>