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

Issue 1646673003: Make InsertListCommand::unlififyParagraph() to do nothing when it applied to uneditable element (Closed)

Created:
4 years, 10 months ago by yosin_UTC9
Modified:
4 years, 10 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make insert{Un}OrderedListCommand/insertUnorderedListCommand to do nothing for uneditable This patch makes |InsertListCommand::doApplyForSingleParagraph()| to check whether parent of list element which will be switch to another list type or unlistify, editable or not. If it is uneditable, we do nothing, because we can't modify uneditable element. Without this patch, we hit assertion in |InsertNodeBeforeCommand| constructor. BUG=547705 TEST=LayoutTests/editing/execCommand/unlistify-uneditable-parent-crash.html Committed: https://crrev.com/4ee4fc6cd5de77570db3291353656dabb3b2bdb7 Cr-Commit-Position: refs/heads/master@{#372302}

Patch Set 1 : 2016-01-28T16:39:01 #

Patch Set 2 : 2016-01-29T11:06:31 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -9 lines) Patch
A + third_party/WebKit/LayoutTests/editing/execCommand/unlistify-uneditable-parent-crash.html View 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp View 1 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646673003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646673003/1
4 years, 10 months ago (2016-01-28 07:47:23 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/171613)
4 years, 10 months ago (2016-01-28 09:06:05 UTC) #6
yosin_UTC9
PTAL
4 years, 10 months ago (2016-01-28 09:13:38 UTC) #8
tkent
Can we improve enclosingList, fixOrphanedListChild, or mergeWithNeighboringLists so that they return only acceptable list elements, ...
4 years, 10 months ago (2016-01-29 00:11:16 UTC) #9
yosin_UTC9
PTAL >Can we improve enclosingList, fixOrphanedListChild, or mergeWithNeighboringLists so that they return only acceptable list ...
4 years, 10 months ago (2016-01-29 02:17:19 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646673003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646673003/20001
4 years, 10 months ago (2016-01-29 02:18:47 UTC) #13
tkent
lgtm
4 years, 10 months ago (2016-01-29 02:24:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646673003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646673003/20001
4 years, 10 months ago (2016-01-29 02:41:18 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/166183)
4 years, 10 months ago (2016-01-29 06:05:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1646673003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1646673003/20001
4 years, 10 months ago (2016-01-29 06:17:17 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-01-29 07:36:39 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 07:38:20 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4ee4fc6cd5de77570db3291353656dabb3b2bdb7
Cr-Commit-Position: refs/heads/master@{#372302}

Powered by Google App Engine
This is Rietveld 408576698