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

Re: Canvas drawImage question

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 12 Jun 2010 13:40:24 +0200
To: "James Graham" <jgraham@opera.com>, "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.vd6qpmns64w2qv@annevk-t60>
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
Received on Saturday, 12 June 2010 11:41:01 UTC

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