[Webkit-unassigned] [Bug 81323] [Mac][Chromium] Should not spellcheck text pasted to an element having spellcheck disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 16 09:30:58 PDT 2012


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2012-03-16 09:30:58 PST ---
(From update of attachment 132237)
View in context: https://bugs.webkit.org/attachment.cgi?id=132237&action=review

> Source/WebCore/editing/Editor.cpp:425
>      m_spellChecker->requestCheckingFor(SpellCheckRequest::create(resolveTextCheckingTypeMask(TextCheckingTypeSpelling | TextCheckingTypeGrammar), TextCheckingProcessBatch, rangeToCheck, rangeToCheck));

It's probably better to check the above conditions inside requestCheckingFor. Or maybe add a variant like requestCheckingForIfEnabled.

-- 
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