textarea-caret-position-after-auto-spell-correct.html 759 B

1234567891011121314
  1. <html>
  2. <body>
  3. <p>Tests bug <a href="https://bugs.webkit.org/show_bug.cgi?id=26200">26200</a> where the caret position jumps off to an incorrect position after auto-correcting a misspelled word.</p>
  4. <p>Open this file in Google Chromium (version 3.0 +), in Windows, and enable the --auto-spell-correct flag. Insert the word 'teh' between any two words in the paragraph below.</p>
  5. <p>SUCCESS: After hitting space, 'teh' is auto-corrected to 'the', and the caret stays on in the place it is supposed to be in after typing the word and hitting space.</p>
  6. <textarea rows="6" cols="35">
  7. This is an english statement.
  8. This is an english statement.
  9. This is an english statement.
  10. This is an english statement.
  11. This is an english statement.
  12. </textarea>
  13. </body>
  14. <html>