11 <script src=../../../../LayoutTests/editing/editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
14 function editingTest() {
15 typeCharacterCommand('t');
16 typeCharacterCommand('h');
17 typeCharacterCommand('e');
18 typeCharacterCommand(' ');
19 typeCharacterCommand('m');
20 typeCharacterCommand('e');
21 typeCharacterCommand('s');
22 typeCharacterCommand('a');
23 typeCharacterCommand('g');
24 typeCharacterCommand('e');
25 typeCharacterCommand(' ');
26 execMoveSelectionBackwardByCharacterCommand();
31 <title>Delete to Dismiss Reversion Panel Test
</title>
34 <div><p>This test verifies that, after reversion panel is shown, continue deleting the word will dismiss the reversion panel.
</p>
35 <p>After seeing the reversion panel, start deleting the corrected word character by character. You should see the panel being
36 dismissed once you start deleting.
</p>
37 <p style=
"color:green">Note, this test can fail due to user specific spell checking data. If the user has previously
38 frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.
</p>
39 <div contenteditable
id=
"root" class=
"editing">
40 <span id=
"test"></span>