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

Issue 2891203002: Make user-triggered SelectAll act as if there is no selection for hidden selection (Closed)

Created:
3 years, 7 months ago by Xiaocheng
Modified:
3 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make user-triggered SelectAll act as if there is no selection for hidden selection This patch ensures that a user-triggered SelectAll selects the entire document when there is a hidden selection. This is for consistency in user experience because a hidden selection appears as no selection to a user. Behavior of Javascript-triggered SelectAll remains the same. BUG=722925 TEST=editing/selection/select_all/select_all_with_unfocused_selection.html Review-Url: https://codereview.chromium.org/2891203002 Cr-Commit-Position: refs/heads/master@{#473103} Committed: https://chromium.googlesource.com/chromium/src/+/bd5cd151162312c124b976bc822bbd0e6f4f2d39

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -6 lines) Patch
A third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html View 1 chunk +57 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 3 chunks +9 lines, -2 lines 2 comments Download
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 3 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-19 00:10:20 UTC) #6
yosin_UTC9
https://codereview.chromium.org/2891203002/diff/1/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html File third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html (right): https://codereview.chromium.org/2891203002/diff/1/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html#newcode56 third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html:56: }, 'User-triggered SelectAll selects entire document when there is ...
3 years, 7 months ago (2017-05-19 02:19:36 UTC) #9
Xiaocheng
https://codereview.chromium.org/2891203002/diff/1/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html File third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html (right): https://codereview.chromium.org/2891203002/diff/1/third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html#newcode56 third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_with_unfocused_selection.html:56: }, 'User-triggered SelectAll selects entire document when there is ...
3 years, 7 months ago (2017-05-19 02:25:51 UTC) #10
yosin_UTC9
lgtm
3 years, 7 months ago (2017-05-19 05:52:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2891203002/1
3 years, 7 months ago (2017-05-19 05:53:03 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 05:58:52 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/bd5cd151162312c124b976bc822b...

Powered by Google App Engine
This is Rietveld 408576698