[clipboard-apis] Behavior of queryCommandEnabled (#7)

Right now, queryCommandEnabled("paste") in Chrome only returns true if we're in an editable area (and https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#enabled specifically mentions that cut and paste are not always enabled, though it doesn't really define when that would be).

However, executing a paste via the top-level menu or the key combination still fires a paste event at the page.

It seems like queryCommandEnabled("paste") should just match when we allow execCommand("paste") / Ctrl+V / etc?

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

Received on Tuesday, 19 May 2015 16:40:36 UTC