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

Issue 309993002: Make isEditablePosition to work with Position objects other than PositionIsOffsetInAnchor (Closed)

Created:
6 years, 6 months ago by yosin_UTC9
Modified:
6 years, 6 months ago
Reviewers:
yoichio, Yuta Kitamura
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make isEditablePosition to work with Position objects other than PositionIsOffsetInAnchor This patch makes isEditablePosition to work with Position objects other than PositionIsOffsetInAnchor by using Position::parentAnchoredEquivalent() to use right Node object for checking editability. BUG=348973 TEST=LayoutTests/editing/execCommand/format-block-with-uneditable-crash.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175660

Patch Set 1 : 2014-06-03T06:20:40 #

Total comments: 2

Patch Set 2 : 2014-06-06T06:24:03 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
A + LayoutTests/editing/execCommand/format-block-with-uneditable-crash.html View 1 1 chunk +6 lines, -5 lines 0 comments Download
A + LayoutTests/editing/execCommand/format-block-with-uneditable-crash-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/editing/htmlediting.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
yosin_UTC9
Could you review this patch? Thanks in advance. Note: win_blink_rel bot failures aren't related to ...
6 years, 6 months ago (2014-06-04 01:26:52 UTC) #1
Yuta Kitamura
LGTM with one simple comment https://codereview.chromium.org/309993002/diff/20001/Source/core/editing/htmlediting.cpp File Source/core/editing/htmlediting.cpp (right): https://codereview.chromium.org/309993002/diff/20001/Source/core/editing/htmlediting.cpp#newcode157 Source/core/editing/htmlediting.cpp:157: Node* node = p.parentAnchoredEquivalent().deprecatedNode(); ...
6 years, 6 months ago (2014-06-06 08:55:07 UTC) #2
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/309993002/diff/20001/Source/core/editing/htmlediting.cpp File Source/core/editing/htmlediting.cpp (right): https://codereview.chromium.org/309993002/diff/20001/Source/core/editing/htmlediting.cpp#newcode157 Source/core/editing/htmlediting.cpp:157: Node* node = p.parentAnchoredEquivalent().deprecatedNode(); On ...
6 years, 6 months ago (2014-06-06 09:26:11 UTC) #3
yosin_UTC9
The CQ bit was checked by yosin@chromium.org
6 years, 6 months ago (2014-06-06 09:26:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yosin@chromium.org/309993002/40001
6 years, 6 months ago (2014-06-06 09:26:56 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-06 10:37:29 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 11:20:29 UTC) #7
Message was sent while issue was closed.
Change committed as 175660

Powered by Google App Engine
This is Rietveld 408576698