Bug 17748 - WebKit only hides misspell underline for word including selection.start
Summary: WebKit only hides misspell underline for word including selection.start
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 11:19 PDT by Eric Seidel (no email)
Modified: 2008-03-10 11:19 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-03-10 11:19:23 PDT
WebKit only hides misspell underline for word including selection.start

I spent a little time looking at mispell underling today after noticing that FireFox's was strange. :)  They're model is broken IMO (specifically regarding multi-word selects and right clicks), but ours is a little broken too.

1.  Type "falskdj aldkjf adlfjk"
2.  Notice as you select the 3 misspelled words that whenever the selection.start is inside a word, the misspell underline disappears.

I would argue we should only show misspell underlines when clicking on them will actually do something, thus hiding misspell underlines when selecting multiple words makes sense (sorta).  The current behavior is a bad mix in-between hiding and not.  Since if you select only one word, it won't show a underline (even though it should) and if you select 2 words, only the second will show an underline (even though right-clicking will not show you spelling suggestions).

This bug:  Pick a behavior.  Either always show all underlines, or don't show any.  Don't "not show the first". :)  I believe Word does not show underlines during multi-select.  FireFox does.  Someone will need to confirm that.