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