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

Canvas drawImage question

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 11 Jun 2010 10:41:35 -0400
Message-ID: <4C124B1F.5060900@mit.edu>
To: HTML WG <public-html@w3.org>
I was just reading the drawImage section, and it seems that the 
arguments are restricted to HTMLImageElement, HTMLCanvasElement, and 
HTMLVideoElement for some reason.  Gecko also supports HTMLInputElement 
(if of type="image"), HTMLObjectElement (if rendering an image), as well 
as <svg:image> and <svg:feImage>.

Is there a good reason for the spec's restriction here?  In particular, 
why is <svg:image> not allowed?  But ideally any of the image elements 
above would be usable here.

-Boris
Received on Friday, 11 June 2010 14:42:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:09 GMT