Re: Canvas drawImage question

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 UTC