-
g.czajkowski@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=95436 Reviewed by Gustavo Noronha Silva. Source/WebCore: The 'checkSpellingOfString' method assumes that the given string is concatenation of words. To properly handle spellchecking of each word we need to iterate over the all available dictionaries ('dictIter'). To allow spellchecking for multiple words, 'dictIter' should be initialized at the beginning of vector while spellchecking of the word. This ensures performing of spelling for word based on at least one dictionary. * platform/text/enchant/TextCheckerEnchant.cpp: (TextCheckerEnchant::checkSpellingOfString): Moved initialization of 'dictIter' to an inner loop. LayoutTests: 'checkSpellingOfString' from the TextCheckerEnchant class can not mark multiplie words that are misspelled. It's possible to mark misspeled string only by defining its location and length. * platform/gtk/TestExpectations: Added spelling-backspace-between-lines.html to TestExpectations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
58dfe097