Re: [clipboard] kill onbefore* events?

The use case these events were meant to fulfil is described here:
https://w3c.github.io/clipboard-apis/#determining-ui-state

In short: they allow you to tell the UA to enable copy/cut/paste commands
even when they would normally be disabled.

On Tue, Feb 2, 2016 at 11:48 PM, Gary Kacmarcik (Кошмарчик) <
garykac@chromium.org> wrote:

> I'm not very familiar with onbefore{cut|paste|copy}, but they sound like
> very specialized versions of the beforeinput event.
>
> What do these events provide that you don't get from handling beforeinput?
> (well, other than the upcoming context "I'm about to do a cut/paste/copy")
>
> On Tue, Feb 2, 2016 at 2:00 PM, Hallvord Reiar Michaelsen Steen <
> hsteen@mozilla.com> wrote:
>
>> Hi,
>> there's some scepticism about implementing
>> onbeforecut/onbeforepaste/onbeforecopy in Gecko [1], IE's implementation
>> seems considerably more limited than I expected (maybe because of bugs?),
>> and it doesn't really seem like an elegant solution to the use case it is
>> meant to solve.
>>
>> Would anybody mind if we killed those events?
>>
>> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=596764
>>
>> -Hallvord R
>>
>
>

Received on Wednesday, 3 February 2016 08:54:10 UTC