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

Re: clipboard events

From: Dmitry Titov <dimich@chromium.org>
Date: Thu, 23 Dec 2010 14:25:13 -0800
Message-ID: <AANLkTike+dBk2G8=SLjZhrS6kgjg_5=zy2n2X=wEOz6X@mail.gmail.com>
To: "Hallvord R. M. Steen" <hallvord@opera.com>
Cc: public-webapps@w3.org, Daniel Cheng <dcheng@chromium.org>
Sounds reasonable, and close to what IE and WebKit implement...

Seems the clipboardData object may simply implement
This would give it legacy setData/getData as well as
items <http://dev.w3.org/html5/spec/dnd.html#datatransferitems> list which
can be used for blob-backed reads/writes.

The list of formats that can be found in dataTransfer, although limited now,
will probably grow in the future to enable better integration between
applications ("XML Spreadsheet" or image for example). I can imagine a web
app that wants to support copy/paste with popular products like MS Office...
Many of those are not suitable for getData() that returns a string, because
they are long/async in nature and/or binary. They will need to be
transferred as blobs or files.


On Thu, Dec 23, 2010 at 7:35 AM, Hallvord R. M. Steen <hallvord@opera.com>wrote:

> Hi,
> looking at what Opera needs to support I drafted a specish text for
> clipboard events. Something for this WG?
> --
> Hallvord R. M. Steen, Core Tester, Opera Software
> http://www.opera.com http://my.opera.com/hallvors/
Received on Thursday, 23 December 2010 22:25:45 UTC

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