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.

Received on Friday, 11 June 2010 14:42:09 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:20 UTC