W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Copy/cut and event.preventDefault()

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Thu, 3 Nov 2011 07:44:25 -0700
Message-ID: <CABNRm60MP0g+k9Dj1DSdx8QhpZyJOBbOpZ9MOWLR4rZO_Xn2mw@mail.gmail.com>
To: "Hallvord R. M. Steen" <hallvord@opera.com>
Cc: public-webapps <public-webapps@w3.org>, Daniel Cheng <dcheng@google.com>
On Nov 3, 2011 2:34 AM, "Hallvord R. M. Steen" <hallvord@opera.com> wrote:
>
> On Thu, 03 Nov 2011 00:13:04 +0100, Daniel Cheng <dcheng@google.com>
wrote:
>
>> What's the expected behavior if a script calls event.preventDefault()
>> when processing a copy/cut event but does not modify the data store?
>> Should the system clipboard be cleared or should the contents remain
>> unchanged?
>
>
> IMO the content should remain unchanged.
>
> If anyone disagrees with that (or want to suggest clarifications for the
processing model to make this more obvious) I'm all ears :-)

I support this behavior.

- Ryosuke
Received on Thursday, 3 November 2011 14:45:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT