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

On Tue, May 20, 2014 at 12:01 PM, Hallvord R. M. Steen
<hsteen@mozilla.com> wrote:
> On the other hand, perhaps we could just observe the clipboardData.items list? If this list is not empty, the payload must have been changed during processing. So if the default is prevented OR clipboardData.items.length > 0 we place the clipboardData payload on the system clipboard. Can I get away with that, or would an explicit flag be better?

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.


-- 
http://annevankesteren.nl/

Received on Tuesday, 20 May 2014 10:06:05 UTC