11 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
15 function editingTest() {
16 for (i
= 0; i
< 6; i
++)
17 moveSelectionForwardByCharacterCommand();
18 for (i
= 0; i
< 33; i
++)
19 extendSelectionForwardByCharacterCommand();
26 <title>Editing Test
</title>
28 <body contenteditable
id=
"root">
29 <div id=
"test" class=
"editing">There is a tide in the affairs of men,
</div>
30 <div class=
"editing">Which taken at the flood leads on to fortune.
</div>
31 <div class=
"editing">Omitted, all the voyage of their life,
</div>
32 <div class=
"editing">Is bound in shallows and in miseries.
</div>