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

Inconsistent |typeof HTMLCanvasElement|

From: Patrick Garies <pgaries@fastmail.us>
Date: Sun, 06 Dec 2009 04:02:01 -0600
Message-ID: <4B1B8119.1030300@fastmail.us>
To: public-html@w3.org
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?
Received on Sunday, 6 December 2009 10:02:52 UTC

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