Comments on HTML Canvas 2D Context WebIDL


Looking quickly at the 2D Context editors draft 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