- From: Philip Jägenstedt <notifications@github.com>
- Date: Mon, 27 Jul 2015 01:24:23 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
Received on Monday, 27 July 2015 08:25:18 UTC
The model, as discussed in [https://www.w3.org/Bugs/Public/show_bug.cgi?id=12230](bug 12230), is: ```JavaScript if (target.dispatchEvent(event)) doSomethingByDefault(); ``` In other words, instead of saying "the default action of the beforecopy event is to ..." and (in one place) "If the event's default action is not prevented", the spec should consistently look like the cut action, where it's "fire a clipboard event named cut" followed by "if the event was not cancelled". Also s/cancelled/canceled/ everywhere :) --- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/14
Received on Monday, 27 July 2015 08:25:18 UTC