W3C home > Mailing lists > Public > public-html-comments@w3.org > June 2010

Comments on HTML Canvas 2D Context WebIDL

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Tue, 15 Jun 2010 17:03:32 +0200
To: public-html-comments@w3.org
Message-ID: <1276614212.11715.349.camel@localhost>
Hi,

Looking quickly at the 2D Context editors draft
http://dev.w3.org/html5/2dcontext/ I found the following couple of
problems:
• the spec uses WebIDL to define the API, but WebIDL isn't referenced
normatively from the spec
• the first, third and fifth definitions of
CanvasRenderingContext2D.drawImage() have their penultimate arguments
(dw) marked as optional, while the last one (dh) isn't — that's
forbidden by WebIDL
• likewise, CanvasRenderingContext2D.putImage() has its 4th argument
optional, while the following ones are not
• shouldn't the various interfaces be marked wit the [NoInterfaceObject]
extended attribute?

Dom
Received on Tuesday, 15 June 2010 15:03:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:03 GMT