4 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
16 function editingTest() {
17 for (i
= 0; i
< 4; i
++)
18 moveSelectionForwardByCharacterCommand();
19 for (i
= 0; i
< 3; i
++)
20 extendSelectionForwardByCharacterCommand();
26 <title>Editing Test
</title>
28 <body contenteditable=
"true">
30 Should see a blank line between
"foo" and
"baz"
31 <div style=
"height: 24px"></div>
33 <div id=
"root" class=
"editing">
34 <div id=
"test">foo
</div>bar
<div>baz
</div>
40 <rdar://problem/3928305> selecting an entire line and typing over causes new inserted text at top of document