Re: [clipboard-apis] Move script-created events out of "fire a clipboard event" (#16)

To really handle both you would have to monkey patch `dispatchEvent()`, as written there is no way for a scripts to reach this algorithm, although it's not entirely clear what would invoke the "copy action".

To make `document.execCommand('copy')` work properly my hunch is that https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html would have to be fixed I think. Now it just says "This specification does not define exactly how the selection is to be copied to the clipboard, but the Clipboard API and events specification might be useful."

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/16#issuecomment-125594133

Received on Tuesday, 28 July 2015 12:55:43 UTC