16 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
20 function editingTest() {
21 moveSelectionForwardByLineCommand();
22 moveSelectionBackwardBySentenceCommand();
23 moveSelectionForwardByLineCommand();
24 moveSelectionBackwardBySentenceCommand();
25 moveSelectionForwardByLineCommand();
26 moveSelectionBackwardBySentenceCommand();
27 moveSelectionForwardByLineCommand();
28 moveSelectionBackwardBySentenceCommand();
29 moveSelectionForwardByLineCommand();
30 moveSelectionBackwardBySentenceCommand();
31 moveSelectionForwardByLineCommand();
32 moveSelectionBackwardBySentenceCommand();
33 moveSelectionForwardByLineCommand();
34 moveSelectionBackwardBySentenceCommand();
35 moveSelectionForwardByLineCommand();
36 moveSelectionBackwardBySentenceCommand();
41 <!-- Note that this tests the fix for this bug:
42 <rdar://problem/5174862> Crash resulting from DeprecatedString::insert()
45 <title>Editing Test
</title>
48 <div contenteditable
id=
"test" class=
"editing">
49 • <b>This is some linked text
</b>