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>

Looking quickly at the 2D Context editors draft
http://dev.w3.org/html5/2dcontext/ I found the following couple of
• 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?

Received on Tuesday, 15 June 2010 15:03:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:26 UTC