Re: Inconsistent |typeof HTMLCanvasElement|

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