W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: clipboard events spec and HTML5 spec - divide and conquer, but where?

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 6 Jan 2011 19:31:01 +0000 (UTC)
To: "Hallvord R. M. Steen" <hallvord@opera.com>
cc: public-webapps@w3.org
Message-ID: <Pine.LNX.4.64.1101061926280.28618@ps20323.dreamhostps.com>
On Thu, 6 Jan 2011, Hallvord R. M. Steen wrote:
> I've done some work on a spec for clipboard events, initially just to 
> make up my mind about what Opera needs to implement, but as it might be 
> a useful thing in general I've volunteered to edit it as a WebApps WG 
> delivery. It will be a fairly small spec, only handling clipboard 
> events.

Is it intended to also cover cut, copy and paste? The current spec draft 
seems very vague about when the events fire and what their default actions 
are, but I can't tell if that's intentional or not.

> Now, this needs a bit of syncing with HTML5 because right now that spec 
> defines a ClipboardEvent interface that contains some of the stuff in 
> HTML5's DataTransfer interface. To avoid this overlap I guess there are 
> two ways forward, either I remove those bits from the clipboard events 
> spec and reference HTML5, or you remove them from HTML5 and say that 
> DataTransfer extends ClipboardEvent. I'm happy either way (though if I'm 
> going to reference DataTransfer I'll call out explicitly what methods 
> are required for clipboard events and omit the DnD specific stuff). 
> Which approach do you think would be better?

What do browsers do? Do they use the same object, including the 
drag-and-drop specific attributes, or is it a different interface?

> Another issue I'd like a comment on is whether you have spec'ed or are 
> close to spec'ing something that helps with the 
> paste-text-with-binary-blobs-in use cases. I don't yet know how we 
> should do that yet.

Editing as a whole is rather under-defined right now. I don't have plans 
to work on it in the comming weeks.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 6 January 2011 19:31:49 UTC

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