W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 12 Jan 2006 21:23:56 +0100
Message-ID: <20060112212356.040qnt47h6dcscws@webmail.annevankesteren.nl>
Quoting Ian Hickson <ian at hixie.ch>:
>> 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()...
> I don't understand why the CSS would even be relevant. The spec says to
> use the image of the HTMLImageElement (or HTMLCanvasElement); that image
> is unrelated to CSS. You could implement <canvas> in a non-CSS UA.

Where does it say that? Could you quote that part?

Anne van Kesteren
Received on Thursday, 12 January 2006 12:23:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC