Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-10-22 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang. spellcheck='' should be the same as spellcheck="true" https://bugs.webkit.org/show_bug.cgi?id=25539 * editing/spelling/spellcheck-attribute-expected.txt: * editing/spelling/spellcheck-attribute.html: 2010-10-24 MORITA Hajime <morrita@google.com> Reviewed by Tony Chang. spellcheck='' should be the same as spellcheck="true" https://bugs.webkit.org/show_bug.cgi?id=25539 - Added a check for empty string and missing attribute. - Extracted the check to Element::spellCheckingEnabled() - Introduced SpellcheckAttributeState enum to represent the states for spellcheck attributes. * dom/Element.cpp: (WebCore::Element::spellcheckAttributeState): Added. (WebCore::Element::isSpellCheckingEnabled): Added. * dom/Element.h: * editing/Editor.cpp: (WebCore::markMisspellingsOrBadGrammar): (WebCore::Editor::isSpellCheckingEnabledInFocusedNode): Renamed, partly extracted to Element::isSpellCheckingEnabled() (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): * editing/Editor.h: * platform/ContextMenu.cpp: (WebCore::ContextMenu::populate): 2010-10-25 MORITA Hajime <morrita@google.com> Reviewed by Tony Chang. spellcheck='' should be the same as spellcheck="true" https://bugs.webkit.org/show_bug.cgi?id=25539 Followed API rename in WebCore. * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::shouldSpellcheckByDefault): Canonical link: https://commits.webkit.org/61046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
12 changed files
with
121 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters