Re: [clipboard-api] Do paste events and company bubble?

2014-03-09 Thread Hallvord R. M. Steen
Boris: 

 The clipboard API draft [1] doesn't seem to say whether paste events, or
 any other events fired by fires a clipboard event bubble.  Or whether
 they're cancelable, for that matter.  Presumably it should say something on
 the matter.

I've added the statement The event bubbles and is cancelable. to the 
description of each (copy/cut/paste) event:
http://dev.w3.org/2006/webapi/clipops/clipops.html#events

I also added two names to the Thank yous ;). Thanks!

-Hallvord



Re: [clipboard-api] Do paste events and company bubble?

2014-03-09 Thread Boris Zbarsky

On 3/9/14 8:30 PM, Hallvord R. M. Steen wrote:

I've added the statement The event bubbles and is cancelable. to the 
description of each (copy/cut/paste) event:
http://dev.w3.org/2006/webapi/clipops/clipops.html#events


That works, though it might be clearer to put that in the dispatch a 
clipboard event processing model, where the other event attributes 
(type, trusted, etc) are being set...


-Boris



Re: [clipboard-api] Do paste events and company bubble?

2014-03-09 Thread Hallvord R. M. Steen
 might be clearer to put that in the dispatch a clipboard event processing 
 model

No problem, fixed.
-HR

- Original Message -
From: Boris Zbarsky bzbar...@mit.edu
To: Hallvord R. M. Steen hst...@mozilla.com, James Greene 
james.m.gre...@gmail.com
Cc: public-webapps public-webapps@w3.org
Sent: Monday, March 10, 2014 11:06:48 AM
Subject: Re: [clipboard-api] Do paste events and company bubble?

On 3/9/14 8:30 PM, Hallvord R. M. Steen wrote:
 I've added the statement The event bubbles and is cancelable. to the 
 description of each (copy/cut/paste) event:
 http://dev.w3.org/2006/webapi/clipops/clipops.html#events

That works, though it might be clearer to put that in the dispatch a 
clipboard event processing model, where the other event attributes 
(type, trusted, etc) are being set...

-Boris




Re: [clipboard-api] Do paste events and company bubble?

2014-03-08 Thread James Greene
They are indeed cancelable and bubble-able, as shown in Example 1 under
the Clipboard event interfaces section.[1]

There are also a number of references to canceling the events under the
Processing model section.[2]

That said, yes, you are absolutely correct that this fact should be
explicitly called out somewhere as well.

[1]
http://dev.w3.org/2006/webapi/clipops/clipops.html#clipboard-event-interfaces

[2] http://dev.w3.org/2006/webapi/clipops/clipops.html#processing-model

Sincerely,
James Greene
Sent from my [smart?]phone
On Mar 8, 2014 1:20 AM, Boris Zbarsky bzbar...@mit.edu wrote:

 The clipboard API draft [1] doesn't seem to say whether paste events, or
 any other events fired by fires a clipboard event bubble.  Or whether
 they're cancelable, for that matter.  Presumably it should say something on
 the matter.

 -Boris

 [1] http://dev.w3.org/2006/webapi/clipops/clipops.html#paste-event