W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: Canvas 2D API specification update

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 22 Oct 2009 11:48:23 +0200
Message-ID: <4AE02A67.7070604@gmx.de>
To: Philip Taylor <pjt47@cam.ac.uk>
CC: "public-html@w3.org" <public-html@w3.org>, Eliot Graff <eliotgra@microsoft.com>, Adrian Bateman <adrianba@microsoft.com>, Frank Olivier <franko@microsoft.com>
Philip Taylor wrote:
 > ...
> If the canvas ImageData structure was defined in a separate spec, I'd 
> expect HTML5 to ignore ImageData and the new spec to override HTML5's 
> definition of 'structured clone' (as allowed by 
> http://whatwg.org/html5#other-applicable-specifications). That avoids 
> bi-directional references, and doesn't seem like an obvious nightmare to 
> me, though it would introduce a new risk of the specs getting out of sync.
> ...

The alternative would be to define a generic way how to expose the 
"structured cloneing" feature on any Javascript object (if this would be 
Java you'd define an interface an object can implement or not, dunno 
about the best way to do it in JS).

 > ...

BR, Julian
Received on Thursday, 22 October 2009 09:49:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT