Clipboard Events should have the default composed flag be true |
||||||||
Issue descriptionUpstream issue: https://github.com/w3c/clipboard-apis/issues/61 As of now the Clipboard API does not define the default "composed" flag for each event (cut, copy, paste), and thus it is treated "false" by default. But depending on the conclusion we have to update our implementation.
,
Jan 16 2018
,
Jan 17 2018
,
Jan 19 2018
,
Jan 19 2018
BTW, Blink defaults false, while WebKit defaults true.
,
Feb 1 2018
,
Feb 19 2018
The upstream issue was resolved with the spec update: https://github.com/w3c/clipboard-apis/commit/d7eecc34bfbf9251c1a1da842e1115f49e2da2eb Now the default "composed" flag for clipboard events is true.
,
Feb 19 2018
Let me reuse this issue for updating our implementation.
,
Feb 19 2018
,
Mar 1 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/784765ebcc3f64f83318ecfcc465c0afe7061dd6 commit 784765ebcc3f64f83318ecfcc465c0afe7061dd6 Author: Takayoshi Kochi <kochi@chromium.org> Date: Thu Mar 01 04:27:51 2018 Make clipboard events composed. This corresponds to the upstream spec change on https://github.com/w3c/clipboard-apis/pull/62 Note that synthetic events are not affected by the change. To generate copy/cut/paste events, document.execCommand() is used for Blink, but cannot be used for web platform tests. Bug: 802009 Change-Id: I00df77269708458b9a6820323a1f511b7c75e513 Reviewed-on: https://chromium-review.googlesource.com/923671 Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Gary Kacmarcik <garykac@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Takayoshi Kochi <kochi@chromium.org> Cr-Commit-Position: refs/heads/master@{#540046} [add] https://crrev.com/784765ebcc3f64f83318ecfcc465c0afe7061dd6/third_party/WebKit/LayoutTests/external/wpt/clipboard-apis/clipboard-events-synthetic.html [add] https://crrev.com/784765ebcc3f64f83318ecfcc465c0afe7061dd6/third_party/WebKit/LayoutTests/fast/events/clipboard-events-composed.html [add] https://crrev.com/784765ebcc3f64f83318ecfcc465c0afe7061dd6/third_party/WebKit/LayoutTests/fast/events/clipboard-events-synthetic.html [modify] https://crrev.com/784765ebcc3f64f83318ecfcc465c0afe7061dd6/third_party/WebKit/Source/core/editing/Editor.cpp [modify] https://crrev.com/784765ebcc3f64f83318ecfcc465c0afe7061dd6/third_party/WebKit/Source/core/events/ClipboardEvent.cpp [modify] https://crrev.com/784765ebcc3f64f83318ecfcc465c0afe7061dd6/third_party/WebKit/Source/core/events/ClipboardEvent.h
,
Mar 1 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 Deleted