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

Re: Canvas drawImage question

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 11 Jun 2010 11:49:05 -0400
Message-ID: <4C125AF1.9000902@mit.edu>
To: James Graham <jgraham@opera.com>
CC: HTML WG <public-html@w3.org>
On 6/11/10 11:13 AM, James Graham wrote:
> On 06/11/2010 04:41 PM, Boris Zbarsky wrote:
>> Gecko also supports HTMLInputElement
>> (if of type="image"),
>
> I asked Hixie about this specific case and he said the reason it wasn't
> supported was a lack of compelling use cases. I think it would be easy
> for us to implement, but I don't think that is a good enough reason to
> allow it.

Well... In Gecko's case it would actually be _more_ work to not allow 
it.  I'd really rather not do that work unless there's a good reason for 
it.  ;)

As far as use cases go, it seems like pretty much any use case using 
<img> where the <img> is actually semantically meaningful would apply to 
<input type="image"> too, if that's what your image's semantic meaning 
is.  Is the claim that there are no real use cases of drawImage with 
semantically meaningful images?

-Boris
Received on Friday, 11 June 2010 15:49:39 GMT

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