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

Issue 788153003: Make execCommand("insertImage", false, "") not add a src attribute (Closed)

Created:
6 years ago by philipj_slow
Modified:
6 years ago
CC:
blink-reviews, groby+blinkspell_chromium.org
Project:
blink
Visibility:
Public.

Description

Make execCommand("insertImage", false, "") not add a src attribute This matches IE's behavior, and most importantly will preserve the behavior of the 1-argument execCommand("insertImage") when the default value changes from null to "", needed to match the spec. A spec bug has been filed asking for the same change: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27552 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186936

Patch Set 1 #

Total comments: 2

Patch Set 2 : tweak test style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
A LayoutTests/editing/execCommand/insertImage-src.html View 1 1 chunk +29 lines, -0 lines 0 comments Download
M Source/core/editing/EditorCommand.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
philipj_slow
PTAL, this will fix the second test failure of https://codereview.chromium.org/751553005/
6 years ago (2014-12-10 12:26:21 UTC) #2
Yuta Kitamura
lgtm with nits https://codereview.chromium.org/788153003/diff/1/LayoutTests/editing/execCommand/insertImage-src.html File LayoutTests/editing/execCommand/insertImage-src.html (right): https://codereview.chromium.org/788153003/diff/1/LayoutTests/editing/execCommand/insertImage-src.html#newcode12 LayoutTests/editing/execCommand/insertImage-src.html:12: test(function() { We usually apply Blink's ...
6 years ago (2014-12-11 02:35:50 UTC) #4
philipj_slow
https://codereview.chromium.org/788153003/diff/1/LayoutTests/editing/execCommand/insertImage-src.html File LayoutTests/editing/execCommand/insertImage-src.html (right): https://codereview.chromium.org/788153003/diff/1/LayoutTests/editing/execCommand/insertImage-src.html#newcode12 LayoutTests/editing/execCommand/insertImage-src.html:12: test(function() { On 2014/12/11 02:35:50, Yuta Kitamura wrote: > ...
6 years ago (2014-12-11 08:20:38 UTC) #5
philipj_slow
tweak test style
6 years ago (2014-12-11 08:26:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/788153003/20001
6 years ago (2014-12-11 08:50:24 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-11 10:34:01 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186936

Powered by Google App Engine
This is Rietveld 408576698