W3C home > Mailing lists > Public > public-webapi@w3.org > October 2006

Re: typing of drag/drop objects in clipboard

From: Charles McCathieNevile <chaals@opera.com>
Date: Wed, 18 Oct 2006 16:45:46 +0200
To: "Tim Berners-Lee" <timbl@w3.org>, public-webapi@w3.org
Message-ID: <op.thmgmkdjwxe0ny@widsith.local>

On Sat, 14 Oct 2006 01:16:02 +0200, Tim Berners-Lee <timbl@w3.org> wrote:

> There is a lot of architecture in the clipboard.

Yes

> I think it is important that the WebAPI clipboard is very web  
> architecture compatible.

Yes, but as Paul said, our initial goal is to makle something that  
reflects what people can actually use. If we succeed in that, (and our  
other large task list) then it would be worthwhile looking at something  
smarter for the future.

> Desktop clipboards, like HTTP, have concepts of type negotiation.

Yup, but they are pretty minimal as far as I can tell.

> It would logical to make the clipboard type in WebAPI carry content-type
> [and later negotiate it].

Indeed. But not for a first version, if we ever want to get something  
through CR that is useful to people designing for the real Web.

cheers, and thanks for your comments

Chaals

> Tim
>> Setting and getting the data to be transferred
>>
>> Internet Explorer provides 3 methods for the clipboardData and  
>> dataTransfer objects:
>>
>> setData()
>> This takes one or two parameters. The first must be set to either  
>> 'text' or 'URL' (case-insensitive).
>> getData()
>> This takes one parameter, that allows the target to request a specific  
>> type of data.
>> clearData()
>> This clears the data from the object.
>
>



-- 
   Charles McCathieNevile, Opera Software: Standards Group
   hablo español  -  je parle français  -  jeg lærer norsk
chaals@opera.com          Try Opera 9 now! http://opera.com
Received on Wednesday, 18 October 2006 14:45:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT