- From: Hugo <notifications@github.com>
- Date: Tue, 20 Feb 2018 08:34:03 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 February 2018 16:34:34 UTC
I found the [current](https://github.com/w3c/clipboard-apis/commit/11619a7e2a8537f8c60eb05f76b192cfa909b30a#r27635154) description's reference to "context" a bit vague. For instance, if I select `<p>some text</p>`, Chrome's copy-event targets the p-element. Firefox's copy-event targets the `<p>`'s inner text node. Here `<p>` isn't editable and `document.activeElement == body` so according to the current spec, `body` should be targeted, not the p-element? In reality, Chrome and Firefox don't care about "editable" here: The p-element is not editable but is targeted nevertheless. Let's update the spec to reflect this? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/69
Received on Tuesday, 20 February 2018 16:34:34 UTC