| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"/> |
| 4 <script src="../../resources/testharness.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> | 6 <script src="../../resources/testharnessreport.js"></script> |
| 6 <script src="../assert_selection.js"></script> | 7 <script src="../assert_selection.js"></script> |
| 7 <script src="spellcheck_test.js"></script> | 8 <script src="spellcheck_test.js"></script> |
| 8 | 9 |
| 9 <script> | 10 <script> |
| 10 spellcheck_test( | 11 spellcheck_test( |
| 11 '<div contenteditable>zz |</div>', | 12 '<div contenteditable>zz |</div>', |
| 12 '', | 13 '', |
| 13 '<div contenteditable>#zz# </div>', | 14 '<div contenteditable>#zz# </div>', |
| 14 { | 15 { |
| 15 title: 'Has marker on initially misspelled word.', | 16 title: 'Has marker on initially misspelled word.', |
| 16 callback: sample => spellcheck_test( | 17 callback: sample => spellcheck_test( |
| 17 sample, | 18 sample, |
| 18 document => { | 19 document => { |
| 19 testRunner.execCommand('DeleteBackward'); | 20 testRunner.execCommand('DeleteBackward'); |
| 20 testRunner.execCommand('DeleteBackward'); | 21 testRunner.execCommand('DeleteBackward'); |
| 21 document.execCommand('InsertText', false, ' '); | 22 document.execCommand('InsertText', false, ' '); |
| 22 }, | 23 }, |
| 23 '<div contenteditable>z </div>', | 24 '<div contenteditable>z </div>', |
| 24 'Blink spellchecks a word again when changing a misspelled word') | 25 'Blink spellchecks a word again when changing a misspelled word') |
| 25 }); | 26 }); |
| 26 </script> | 27 </script> |
| OLD | NEW |