W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: Clipboard API spec should specify beforecopy, beforecut, and beforepaste events

From: Aryeh Gregor <ayg@aryeh.name>
Date: Wed, 2 May 2012 09:34:07 +0300
Message-ID: <CAKA+AxkFFo-ZYYDTkGv8fs5NyUHTdr6-fLb5J4YigHRZt2M0VQ@mail.gmail.com>
To: Ryosuke Niwa <rniwa@webkit.org>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Scott González <scott.gonzalez@gmail.com>, public-webapps <public-webapps@w3.org>
On Wed, May 2, 2012 at 9:27 AM, Ryosuke Niwa <rniwa@webkit.org> wrote:
> Sounds like beforecut, beforecopy, and beforepaste suffice then... Maybe
> these events are useful after all.

I think they're useful, but very badly named -- authors will think
they fire before every cut, copy, and paste.  So while it's normally
best to specify whatever browsers already support, in this case I
think it would be best to introduce a new event and try to get rid of
the old ones.  The old ones are named too confusingly.

> Events for the latter are cut, copy, & paste. Despite of their names, they
> fire before editing commands are executed.

Ugh.  Well, that's confusing but not as bad as it could be.  If
browsers are interoperable on this score, I guess we have to keep
Received on Wednesday, 2 May 2012 06:34:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:33 UTC