W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

Re: DOMTimeStamp interface not defined in L3 events...

From: Doug Schepers <schepers@w3.org>
Date: Wed, 30 Sep 2009 13:11:09 -0700
Message-ID: <4AC3BB5D.4060903@w3.org>
To: Travis Leithead <travil@microsoft.com>
CC: "www-dom@w3.org" <www-dom@w3.org>, Kirk Sykora <ksykora@microsoft.com>, "Greg Perez (IE)" <gregpere@microsoft.com>
Hi, Travis-

Travis Leithead wrote (on 9/30/09 1:01 PM):
> Since the DOMTimeStamp is not defined in the L3 Events spec, I was
> wondering how it should be implemented in JavaScript? All browsers that
> support the property seem to support it as a JavaScript Number object.
> Shouldn’t it be a JavaScript Date object?

It's defined in DOM3 Core as an "unsigned long long" [1].

This should probably be revised in DOM Core.next.  Doesn't HTML5 say 
something about this, as well?

[1] http://www.w3.org/TR/DOM-Level-3-Core/core.html#Core-DOMTimeStamp

-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Wednesday, 30 September 2009 20:11:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:56 UTC