16 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
20 function editingTest() {
21 for (i
= 0; i
< 4; i
++)
22 moveSelectionForwardByCharacterCommand();
23 extendSelectionForwardByWordCommand();
28 <title>Editing Test
</title>
31 <div contenteditable
id=
"root" class=
"editing">
32 <div id=
"test">foo
<span class=
"Apple-tab-span" style=
"white-space:pre"> </span>bar
</div>
36 Specifically checks test case in bug:
37 <rdar://problem/3917929> REGRESSION (Mail): Command-left-arrow leaves insertion point too high after specific steps