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

Issue 2900553005: Treat selection as focused if it contains focused element (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

Treat selection as focused if it contains focused element BUG=724925 TEST=FrameSelectionTest.RangeContainsFocus Review-Url: https://codereview.chromium.org/2900553005 Cr-Commit-Position: refs/heads/master@{#473814} Committed: https://chromium.googlesource.com/chromium/src/+/f15f52293342a5d3dfa6fd3be727b2058711c2d3

Patch Set 1 #

Total comments: 1

Patch Set 2 : Mon May 22 18:52:27 PDT 2017 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 1 chunk +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/Position.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-23 01:03:33 UTC) #7
yosin_UTC9
lgtm w/ nit https://codereview.chromium.org/2900553005/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp File third_party/WebKit/Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/2900553005/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp#newcode447 third_party/WebKit/Source/core/editing/FrameSelection.cpp:447: const PositionInFlatTree focused_position(focused_element, 0); It is ...
3 years, 7 months ago (2017-05-23 01:15:50 UTC) #8
Xiaocheng
Fixed and thanks for reviewing!
3 years, 7 months ago (2017-05-23 01:57:01 UTC) #10
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/2900553005/20001
3 years, 7 months ago (2017-05-23 01:57:37 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 05:11:34 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f15f52293342a5d3dfa6fd3be727...

Powered by Google App Engine
This is Rietveld 408576698