1 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
3 function editingTest() {
4 var selection
= window
.getSelection();
5 var s
= document
.getElementById("start");
6 selection
.collapse(s
, 0);
7 execMoveSelectionForwardByCharacterCommand();
8 for (i
= 0; i
< 2; i
++) {
13 <div contenteditable=
"true" id=
"test">
16 <span id=
"start">after
</span>