Changeset 141650 in webkit
- Timestamp:
- Feb 1, 2013 3:03:57 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r141647 r141650 1 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org> 2 3 [Chromium] Expect spellcheck to ignore punctuation 4 https://bugs.webkit.org/show_bug.cgi?id=108511 5 6 Reviewed by Tony Chang. 7 8 * platform/chromium/TestExpectations: Expect spellcheck to ignore punctuation. 9 1 10 2013-02-01 Andrey Lushnikov <lushnikov@chromium.org> 2 11 -
trunk/LayoutTests/platform/chromium/TestExpectations
r141645 r141650 4346 4346 webkit.org/b/108286 platform/chromium/virtual/softwarecompositing/geometry/fixed-position-iframe-composited-page-scale-down.html [ ImageOnlyFailure ] 4347 4347 4348 # Spellchecker behavior tests.4349 webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Failure ]4350 webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Failure ]4351 webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Failure ]4352 4353 4348 webkit.org/b/108424 media/video-error-does-not-exist.html [ Failure Crash ] 4354 4349 webkit.org/b/108566 platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations.html [ Failure ] -
trunk/Source/WebKit/chromium/ChangeLog
r141637 r141650 1 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org> 2 3 [Chromium] Ignore punctuation in spellcheck 4 https://bugs.webkit.org/show_bug.cgi?id=108511 5 6 Reviewed by Tony Chang. 7 8 * src/ContextMenuClientImpl.cpp: 9 (WebKit::IsWhiteSpaceOrPunctuation): Added utility function to detect whitespace or punctuation. 10 (WebKit::selectMisspellingAsync): Ignore punctuation when selecting the misspelling. 11 1 12 2013-02-01 Philip Rogers <pdr@google.com> 2 13 -
trunk/Source/WebKit/chromium/src/ContextMenuClientImpl.cpp
r141608 r141650 145 145 } 146 146 147 static bool IsWhiteSpaceOrPunctuation(UChar c) 148 { 149 return isSpaceOrNewline(c) || WTF::Unicode::isPunct(c); 150 } 151 147 152 static String selectMisspellingAsync(Frame* selectedFrame, Vector<DocumentMarker*>& markers) 148 153 { … … 167 172 } 168 173 169 if (markerRange->text().stripWhiteSpace( ) != selectionRange->text().stripWhiteSpace())174 if (markerRange->text().stripWhiteSpace(&IsWhiteSpaceOrPunctuation) != selectionRange->text().stripWhiteSpace(&IsWhiteSpaceOrPunctuation)) 170 175 return String(); 171 176
Note: See TracChangeset
for help on using the changeset viewer.