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

clipboard events - tests and outstanding issues

From: Hallvord R. M. Steen <hallvord@opera.com>
Date: Mon, 31 Jan 2011 17:19:36 +0900
To: public-webapps@w3.org
Message-ID: <op.vp5yqriqa3v5gv@hr-opera.oslo.opera.com>
If anyone is interested in having a look, here are tests for the CCnP  
(copy cut and paste) events spec:
http://dev.w3.org/2006/webapi/clipops/testsuite/

A note: these tests are built by a script, and the number is artificially  
inflated by creating several copies to listen for the event in various  
places. This serves the dual purpose of making sure events bubble  
correctly and making me seem insanely productive. There are 54 actual  
distinct source test scripts.

Because the tests are auto-generated, *file names might change*. If I  
re-organise the spec or add tests, the numbers might no longer refer to  
the same tests. Sorry about that, but I think stability isn't that far  
away now..

Two main remaining issues with the spec itself is

1) Review HTML5 more and give more feedback to make sure things we use  
make sense for CCnP.. (+remove table titled "what we need from HTML5" when  
issues are addressed)

2) Get more review comments and write more tests for the multi-part paste  
text, including security policies (  
http://dev.w3.org/2006/webapi/clipops/clipops.html#binary-paste )

I'd love help with that - *especially* #1. If you see things in the  
algorithms for this stuff:  
http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-datatransfer-interface  
that doesn't make sense for CCnP, or suggest improved "glue text" that  
should be added to CCnP to explain how it works in sync with the HTML5  
stuff I'll be able to waste some time de-obfuscating and analysing Google  
Docs source code instead ;)

-- 
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/
Received on Monday, 31 January 2011 08:19:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT