mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
79bf4210ee
Original regression was by bug 1362858, and bug 1418629 wasn't enough to fix. By bug 1362858, we use `CHAR_CLASS_SEPARATOR` in additional to DOM word separator. But some characters such as single quote, `@` and etc are `CHAR_CLASS_SEPARATOR`, so we may check spell by incomplete word. We shouldn't separate word by characters that is email part, URL part or conditional punctuation. And I also update test cases for this situation. `<textarea>` is better for spell checking since it can has multiple anonymous text nodes. Differential Revision: https://phabricator.services.mozilla.com/D39829 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
EditorSpellCheck.cpp | ||
EditorSpellCheck.h | ||
FilteredContentIterator.cpp | ||
FilteredContentIterator.h | ||
moz.build | ||
nsComposeTxtSrvFilter.cpp | ||
nsComposeTxtSrvFilter.h | ||
nsIInlineSpellChecker.idl | ||
TextServicesDocument.cpp | ||
TextServicesDocument.h |