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

Re: Copy/cut and event.preventDefault()

From: Hallvord R. M. Steen <hallvord@opera.com>
Date: Thu, 03 Nov 2011 10:33:56 +0100
To: public-webapps <public-webapps@w3.org>, "Daniel Cheng" <dcheng@google.com>
Message-ID: <op.v4c56urua3v5gv@hr-opera.oslo.osa>
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 :-)

Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/
Received on Thursday, 3 November 2011 09:33:22 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC