[Webkit-unassigned] [Bug 39402] [chromium] disable spelling suggestions if spellcheck=false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 19 22:28:16 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39402





--- Comment #3 from Tony Chang (Google) <tony at chromium.org>  2010-05-19 22:28:16 PST ---
(In reply to comment #2)
> (From update of attachment 56558 [details])
> WebKit/chromium/src/ContextMenuClientImpl.cpp:205
>  +              data.isSpellCheckingEnabled = true;
> Should we leave this line in a case of no misspelledWord?

I left it in to be consistent with Safari.  This means that the context menu will still show a check mark by "Spellchecking in this field".  I did it this way in Safari because you can imagine a div with spellchecking enabled, with a single span inside it that has spellchecking disabled.  It seems more consistent to treat the whole field as "spellcheck enabled" even if you click in the span.  I think it would be confusing if the check mark changed depending on which node you happened to click on within a single content editable node.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list