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

Issue 1097693003: queryCommandSupported() should return 'true' for cut/copy/paste editing commands (Closed)

Created:
5 years, 8 months ago by Abhijeet Kandalkar Slow
Modified:
3 years, 3 months ago
Reviewers:
vivekg, dcheng
CC:
blink-reviews, groby+blinkspell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

queryCommandSupported() should return 'true' for cut/copy/paste editing commands As per spec [1], all commands defined in editing specification must be supported. Support for Cut, Copy and Paste commands is already implemented so, blink should return 'true'. [1] https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#supported-commands BUG=476508

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -11 lines) Patch
A LayoutTests/editing/execCommand/cut-copy-paste-support.html View 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/editing/execCommand/cut-copy-paste-support-expected.txt View 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/editing/EditorCommand.cpp View 1 2 3 3 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
Abhijeet Kandalkar Slow
Please review patch.
5 years, 8 months ago (2015-04-17 13:07:01 UTC) #2
dcheng
https://codereview.chromium.org/1097693003/diff/20001/Source/core/editing/Editor.h File Source/core/editing/Editor.h (right): https://codereview.chromium.org/1097693003/diff/20001/Source/core/editing/Editor.h#newcode132 Source/core/editing/Editor.h:132: bool isSupported(bool enabled = false) const; I don't really ...
5 years, 8 months ago (2015-04-20 17:09:03 UTC) #3
Abhijeet Kandalkar Slow
https://codereview.chromium.org/1097693003/diff/20001/Source/core/editing/Editor.h File Source/core/editing/Editor.h (right): https://codereview.chromium.org/1097693003/diff/20001/Source/core/editing/Editor.h#newcode132 Source/core/editing/Editor.h:132: bool isSupported(bool enabled = false) const; On 2015/04/20 17:09:03, ...
5 years, 8 months ago (2015-04-21 14:14:33 UTC) #4
dcheng
Right, shouldn't we be fixing EditorCommand.cpp instead of changing isSupported() broadly like that?
5 years, 8 months ago (2015-04-21 14:16:23 UTC) #5
Abhijeet Kandalkar Slow
DONE.Moved all changes to EditorCommand.cpp Please review changes(Set-3)
5 years, 8 months ago (2015-04-21 15:07:42 UTC) #6
dcheng
I mean, I think it would be more appropriate to modify the implementations of supportedCopyCut, ...
5 years, 8 months ago (2015-04-21 15:27:15 UTC) #7
dcheng
(Hit send too early.) With those changes, why would we still want to change Editor::Command::isSupported, ...
5 years, 8 months ago (2015-04-21 15:27:47 UTC) #8
Abhijeet Kandalkar Slow
On 2015/04/21 15:27:47, dcheng wrote: > (Hit send too early.) > > With those changes, ...
5 years, 7 months ago (2015-05-19 11:13:03 UTC) #9
dcheng
This change looks much better. However, I think we need to clarify some spec questions. ...
5 years, 7 months ago (2015-05-19 16:31:45 UTC) #10
Abhijeet Kandalkar Slow
On 2015/05/19 16:31:45, dcheng wrote: > This change looks much better. > > However, I ...
5 years, 5 months ago (2015-07-06 05:56:10 UTC) #11
dcheng
5 years, 5 months ago (2015-07-06 17:40:11 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698