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

Issue 2750533007: Let insertNewLineInQuotedContent not do anything out of a quote element (Closed)

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

Description

Let insertNewLineInQuotedContent not do anything out of a quote element The issue happens when insertNewLineInQuotedContent deletes selected range to insert a break but after that caret disappears because no visible element. Anyway we should do nothing if insertNewLineInQuotedContent is called when selection is out side of quote element. BUG=692063 TEST=run-webkit-tests LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html Review-Url: https://codereview.chromium.org/2750533007 Cr-Commit-Position: refs/heads/master@{#458345} Committed: https://chromium.googlesource.com/chromium/src/+/3d4203963eb508258f3b407630f0cc8be7fd0697

Patch Set 1 #

Patch Set 2 : update #

Total comments: 14

Patch Set 3 : update #

Total comments: 1

Patch Set 4 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/scoped/editing-commands.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp View 1 2 3 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (20 generated)
yoichio
3 years, 9 months ago (2017-03-17 04:39:16 UTC) #11
yosin_UTC9
https://codereview.chromium.org/2750533007/diff/20001/third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html File third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html (right): https://codereview.chromium.org/2750533007/diff/20001/third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html#newcode11 third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html:11: document.designMode = "on"; nit: s/"on"/'on'/ https://codereview.chromium.org/2750533007/diff/20001/third_party/WebKit/LayoutTests/fast/events/scoped/editing-commands.html File third_party/WebKit/LayoutTests/fast/events/scoped/editing-commands.html (right): ...
3 years, 9 months ago (2017-03-17 09:27:02 UTC) #14
yoichio
PTAL https://codereview.chromium.org/2750533007/diff/20001/third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html File third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html (right): https://codereview.chromium.org/2750533007/diff/20001/third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html#newcode11 third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html:11: document.designMode = "on"; On 2017/03/17 09:27:02, yosin_UTC9 wrote: ...
3 years, 9 months ago (2017-03-21 03:48:07 UTC) #16
yosin_UTC9
lgtm w/ nit https://codereview.chromium.org/2750533007/diff/40001/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp File third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp (right): https://codereview.chromium.org/2750533007/diff/40001/third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp#newcode82 third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp:82: nit: We don't need to have ...
3 years, 9 months ago (2017-03-21 05:30:45 UTC) #20
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/2750533007/60001
3 years, 9 months ago (2017-03-21 05:37:17 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 07:39:20 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3d4203963eb508258f3b407630f0...

Powered by Google App Engine
This is Rietveld 408576698