Bug 108405 - Tests for spellcheck behavior
Summary: Tests for spellcheck behavior
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 108535 108536 106815 108528 108529 108530
  Show dependency treegraph
 
Reported: 2013-01-30 16:47 PST by Rouslan Solomakhin
Modified: 2013-01-31 14:58 PST (History)
7 users (show)

See Also:


Attachments
Patch (60.54 KB, patch)
2013-01-30 17:02 PST, Rouslan Solomakhin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rouslan Solomakhin 2013-01-30 16:47:19 PST
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.
Comment 1 Rouslan Solomakhin 2013-01-30 17:02:27 PST
Created attachment 185627 [details]
Patch
Comment 2 Rouslan Solomakhin 2013-01-30 17:04:44 PST
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 3 WebKit Review Bot 2013-01-30 18:09:33 PST
Comment on attachment 185627 [details]
Patch

Clearing flags on attachment: 185627

Committed r141354: <http://trac.webkit.org/changeset/141354>
Comment 4 WebKit Review Bot 2013-01-30 18:09:38 PST
All reviewed patches have been landed.  Closing bug.