W3C home > Mailing lists > Public > public-html@w3.org > December 2009

Re: Inconsistent |typeof HTMLCanvasElement|

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 08 Dec 2009 12:30:15 +0100
To: "Patrick Garies" <pgaries@fastmail.us>, public-html@w3.org
Message-ID: <op.u4l98px264w2qv@anne-van-kesterens-macbook.local>
On Sun, 06 Dec 2009 11:02:01 +0100, Patrick Garies <pgaries@fastmail.us>  
wrote:
> Hi, (not sure this is the right place for this, but)
>
> I was doing some testing via |typeof HTMLCanvasElement === "object"| and  
> found:
>
> * Firefox 3.5 and Safari 4.0 implement HTMLCanvasElement as an object
> * Chrome 4.0 (Beta) and Opera 10.1 implement HTMLCanvasElement as a  
> function
>
> Which browsers are correct? Is this defined in the spec somewhere?

Per examples in http://dev.w3.org/2006/webapi/WebIDL/ it seems it should  
be "object". Haven't tried to figure out if the examples are actually  
correct. public-script-coord@w3.org is probably the right place by the way  
for discussion.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 8 December 2009 11:31:00 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:54 UTC