Add tests for the following spellcheck behavior: - Spellcheck selects the misspelled word on context click. - Spelling should work when the user selects the misspelled word exactly. - If the word is not misspelled, there should be no spelling options in the context menu. - Spellcheck should select multi-word misspellings on context click. - Spelling should work when the user selects a multi-word misspelling exactly. - Spelling should work for double-clicked misspellings. - Spelling should ignore whitespace. - Underscores should be treated as whitespace: spelling should ignore them. - Punctuation marks should be treated as whitespace: spelling should ignore them. - Spelling should be disabled when user selects a part of misspelling. - Spelling should be disabled when user selects multiple words that are not a single misspelling.
Created attachment 185627 [details] Patch
Comment on attachment 185627 [details] Patch This is the layout-test part of https://webkit.org/b/106815. I am using [Skip] instead of [Failure] on these tests because some of these tests are already passing.
Comment on attachment 185627 [details] Patch Clearing flags on attachment: 185627 Committed r141354: <http://trac.webkit.org/changeset/141354>
All reviewed patches have been landed. Closing bug.