Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Issue 14930006: Ctrl+Shift+Right in Windows should select the spacing after the word (Closed)

Created:
7 years, 7 months ago by csaavedra
Modified:
7 years, 7 months ago
Reviewers:
ojan, eseidel
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Ctrl+Shift+Right in Windows should select the spacing after the word Add WebCore::FrameSelection::nextWordPositionForPlatform() which takes into consideration platform-specific editing behavior to decide whether to skip the spacing after a word. Use this in methods used to extend selection. This changes the outcome of selection when editingBehavior is set to 'win'. Therefore, many tests neeed new expectations for chromium-win, and others have been updated. The original patch was reviewed by Ryosuke Niwa in WebKit: http://trac.webkit.org/changeset/148987 BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150444

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebased TestExpectations #

Patch Set 4 : Mark unbold-in-bold.html as ImageOnlyFailure #

Patch Set 5 : Removed new image expectation and updated TestResults accordingly #

Patch Set 6 : Added expectations for chromium-mac for delete-cell-contents-win.html #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -201 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
D LayoutTests/editing/deleting/delete-cell-contents.html View 1 chunk +0 lines, -18 lines 0 comments Download
D LayoutTests/editing/deleting/delete-cell-contents-expected.txt View 1 chunk +0 lines, -15 lines 0 comments Download
A + LayoutTests/editing/deleting/delete-cell-contents-mac.html View 1 chunk +3 lines, -0 lines 0 comments Download
A + LayoutTests/editing/deleting/delete-cell-contents-mac-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/editing/deleting/delete-cell-contents-win.html View 2 chunks +4 lines, -0 lines 0 comments Download
A + LayoutTests/editing/deleting/delete-cell-contents-win-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/editing/deleting/smart-editing-disabled-win.html View 2 chunks +2 lines, -1 line 0 comments Download
A + LayoutTests/editing/deleting/smart-editing-disabled-win-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/editing/execCommand/query-command-state-expected.txt View 4 chunks +5 lines, -5 lines 0 comments Download
A + LayoutTests/editing/execCommand/remove-format-multiple-elements-win.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/execCommand/remove-format-multiple-elements-win-expected.txt View 1 chunk +7 lines, -7 lines 0 comments Download
M LayoutTests/editing/execCommand/script-tests/query-command-state.js View 4 chunks +5 lines, -5 lines 0 comments Download
A + LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-win.js View 3 chunks +8 lines, -8 lines 0 comments Download
A + LayoutTests/editing/execCommand/script-tests/toggle-link-win.js View 2 chunks +7 lines, -6 lines 0 comments Download
A + LayoutTests/editing/execCommand/script-tests/toggle-unlink-win.js View 2 chunks +2 lines, -3 lines 0 comments Download
A + LayoutTests/editing/execCommand/toggle-link-win.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/execCommand/toggle-link-win-expected.txt View 1 chunk +5 lines, -5 lines 0 comments Download
A + LayoutTests/editing/execCommand/toggle-unlink-win.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/execCommand/toggle-unlink-win-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/selection/extend-selection-enclosing-block-win.html View 2 chunks +4 lines, -5 lines 0 comments Download
A + LayoutTests/editing/selection/extend-selection-enclosing-block-win-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/editing/selection/resources/extend-selection.js View 2 chunks +34 lines, -1 line 0 comments Download
M LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/style/make-text-writing-direction-inline-win.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/style/make-text-writing-direction-inline-win-expected.txt View 2 chunks +4 lines, -4 lines 0 comments Download
A + LayoutTests/editing/style/push-down-font-styles-win.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/style/push-down-font-styles-win-expected.txt View 3 chunks +3 lines, -3 lines 0 comments Download
A + LayoutTests/editing/style/push-down-implicit-styles-around-list-win.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/editing/style/push-down-implicit-styles-around-list-win-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
A + LayoutTests/editing/style/script-tests/make-text-writing-direction-inline-win.js View 2 chunks +19 lines, -19 lines 0 comments Download
A + LayoutTests/editing/style/script-tests/push-down-font-styles-win.js View 4 chunks +4 lines, -4 lines 0 comments Download
A + LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-win.js View 2 chunks +5 lines, -5 lines 0 comments Download
A + LayoutTests/platform/chromium-mac/editing/deleting/delete-cell-contents-win-expected.txt View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/deleting/delete-by-word-002-expected.txt View 2 chunks +3 lines, -3 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/execCommand/button-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/execCommand/createLink-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/execCommand/indent-pre-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/execCommand/unlink-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/chromium-win/editing/inserting/insert-before-link-1-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/chromium-win/editing/pasteboard/display-block-on-spans-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/pasteboard/merge-end-list-2-expected.txt View 2 chunks +4 lines, -3 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/pasteboard/merge-end-table-2-expected.txt View 2 chunks +4 lines, -3 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/pasteboard/page-zoom-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/selection/extend-selection-word-expected.txt View 8 chunks +32 lines, -32 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/style/apply-through-end-of-document-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/chromium-win/editing/style/remove-underline-across-paragraph-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/chromium-win/editing/style/remove-underline-across-paragraph-in-bold-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/chromium-win/editing/style/remove-underline-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/platform/chromium-win/editing/style/remove-underline-from-stylesheet-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/style/remove-underline-in-bold-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-win/editing/style/unbold-in-bold-expected.txt View 2 chunks +7 lines, -7 lines 0 comments Download
A + LayoutTests/platform/chromium-win/editing/undo/replace-text-in-node-preserving-markers-crash-expected.txt View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/editing/FrameSelection.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 5 chunks +24 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
csaavedra
Hi Eric, git cl upload suggested you as reviewer for this one. The original patch ...
7 years, 7 months ago (2013-05-06 16:50:42 UTC) #1
eseidel
lgtm
7 years, 7 months ago (2013-05-06 18:42:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/1
7 years, 7 months ago (2013-05-06 18:42:22 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=6885
7 years, 7 months ago (2013-05-06 19:32:22 UTC) #4
csaavedra
Uploaded a new patchset, now marking unbold-in-bold.html as missing expectations (as I can't generate a ...
7 years, 7 months ago (2013-05-07 13:19:49 UTC) #5
eseidel
lgtm
7 years, 7 months ago (2013-05-10 08:46:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/14001
7 years, 7 months ago (2013-05-10 08:46:26 UTC) #7
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-10 08:46:43 UTC) #8
claudio.saavedra
I fixed this, sorry about it. Now it will apply cleanly, lgtm please? On 2013/05/10 ...
7 years, 7 months ago (2013-05-10 08:54:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/20001
7 years, 7 months ago (2013-05-10 16:48:02 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=7456
7 years, 7 months ago (2013-05-10 17:35:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/20001
7 years, 7 months ago (2013-05-13 12:28:13 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=7638
7 years, 7 months ago (2013-05-13 13:02:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/37001
7 years, 7 months ago (2013-05-13 13:44:01 UTC) #14
commit-bot: I haz the power
Can't process patch for file LayoutTests/platform/chromium-linux/editing/style/unbold-in-bold-expected.png. Binary file support is temporarilly disabled due to a ...
7 years, 7 months ago (2013-05-13 13:44:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/40001
7 years, 7 months ago (2013-05-13 14:22:12 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=7659
7 years, 7 months ago (2013-05-13 14:55:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/40001
7 years, 7 months ago (2013-05-15 15:51:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csaavedra@igalia.com/14930006/55001
7 years, 7 months ago (2013-05-15 16:36:26 UTC) #19
commit-bot: I haz the power
7 years, 7 months ago (2013-05-15 17:41:13 UTC) #20
Message was sent while issue was closed.
Change committed as 150444

Powered by Google App Engine
This is Rietveld 408576698