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

Re: [clipboard events] implicitly prevent default event action?

From: Hallvord R. M. Steen <hsteen@mozilla.com>
Date: Tue, 20 May 2014 03:16:54 -0700 (PDT)
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Glenn Maynard <glenn@zewt.org>, public-webapps <public-webapps@w3.org>
Message-ID: <1652241874.381451.1400581014251.JavaMail.zimbra@mozilla.com>
> Maybe. It seems some refactoring is needed either way. The underlying
> data model for .items is "drag data store item list" which is a term
> that's somewhat different from what we have here.

I think that's a feature, not a bug - for example, many operating systems let you 'copy' and 'paste' files from the file explorer. When clipboardData is an instance of DataTransfer, we have the infrastructure to make copying files from the file manager and pasting them into a web page work just like drag-and-drop would. It should be a good thing for accessibility and consistency with OS file manager conventions. The way HTML5 specs setData() and the other parts of the API shouldn't cause any problems for our use case, no?
-Hallvord
Received on Tuesday, 20 May 2014 10:17:22 UTC

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