Re: timeStamp and DOMTimeStamp

Ian Hickson:
> Well I don't really mind what esoteric implementations might do, but, as 
> discussed on today's telecon, for Web browsers we want interoperability.
...
> Time stamps should be of comparable magnitude with comparable deltas 
> across different Web browsers, IMHO. Every difference between browsers 
> introduces a new possibility for a Web page bug. Web authors manage to 
> find plenty of ways to shoot themselves in the foot already, there's no 
> reason for us to give them even more ways.

I think that at least time stamps should be comparable for event objects
created from the one document, possibly all events from the same DOM
implementation.  So I think the text discussing the fact that the epoch
should be the same for a document or DOM implementation should be
included.

In case there are scripts that assume browsers use the Unix epoch, it
could be required that implementations that do have access to the
calendar time make the epoch equal to 1970-01-01T00:00:00Z, but those
that do not can choose their own (consistent) epoch time.

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org

Received on Tuesday, 28 March 2006 08:14:47 UTC