[whatwg] [html5] image argument for drawImage (canvas)

Anne van Kesteren fora at annevankesteren.nl
Thu Jan 12 02:01:12 PST 2006

It is unclear whether or not styles are inherited when painting HTMLImageElement
or HTMLCanvasElement. Most implementations do not seem to do anything with CSS
at all that may be specified on HTMLImageElement, but it is not clear from the
specification what exactly should be done with the argument (HTMLImageElement
opr HTMLCanvasElement). I assume that in some way the resource pointed to by
HTMLImageElement.src should be used and HTMLCanvasElement.toDataURL()...

Anne van Kesteren

More information about the whatwg mailing list