11 <script src=../../../../LayoutTests/editing/editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
14 function editingTest() {
15 typeCharacterCommand('t');
16 typeCharacterCommand('h');
17 typeCharacterCommand('i');
18 typeCharacterCommand('s');
19 typeCharacterCommand(' ');
20 typeCharacterCommand('w');
21 typeCharacterCommand('o');
22 typeCharacterCommand('u');
23 typeCharacterCommand('l');
24 typeCharacterCommand('d');
25 typeCharacterCommand('n');
30 <title>Autocorrection with Contraction Test
</title>
33 <div><p>This test verifies that, after typing an apostrophe, if the current word is part of a contraction, previously shown autocorrection will not be applied.
</p>
34 <p>After loading the page, you should see correction panel shows
"would" for
"wouldn". Then after typing
"'t", the correction panel dissappears and the final sentence is
"this wouldn't".
</p>
35 <div contenteditable
id=
"root" class=
"editing">
36 <span id=
"test"></span>