Chromium Code Reviews
DescriptionFix for spell check underlines disappearing when user clicks out of the Text Box. WebKit removes all spell check markers in Frame::respondToChangedSelection() if, for a text box, the ShouldSpellcheckByDefault() method we have defined in the glue returns false. The problem is, ShouldSpellcheckByDefault() is also called just after the user clicks outside the textbox. As a result, it either detects that the text box is not a focussed node, or determines that the editor is not editable, and returns false, which makes the Frame remove all the markers from the corresponding document object.
BUG=www.crbug.com/6058
TEST=Write random stuff in a text box - after the underlines appear, click outside the text box - the underlines should not disappear. Other functionalities of spellcheck, such as changing spell check language, toggling spell check language on/off, should not be affected at all.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21892
Patch Set 1 #
Total comments: 4
Patch Set 2 : '' #Patch Set 3 : '' #Messages
Total messages: 4 (0 generated)
|