Re: Canvas drawImage question

On Fri, 11 Jun 2010 17:49:05 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 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.  ;)

That would mean your mapping from Web IDL to ECMAScript has a bug as  
HTMLInputElement is not allowed as first argument to drawImage()...


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Saturday, 12 June 2010 11:41:01 UTC