[whatwg] DOMTimeStamp in W3C Core 3

2010-11-23 Thread John Knottenbelt
I was recently tripped up by a difference between published the W3C
DOM Level 3 Core TR  and standard practice. The issue is that the TR
states that DOMTimeStamp should be bound to a Date object in
ECMAScript ( http://www.w3.org/TR/DOM-Level-3-Core/core.html#Core-DOMTimeStamp
).

But in practice, most existing implementations bind DOMTimeStamp to a
Number. This was observed on what-wg before:

http://www.mail-archive.com/whatwg@lists.whatwg.org/msg13626.html

And there is an intention to change the DOM Core 3 so that
DOMTimeStamp be bound to a number for ECMAScript:

http://www.w3.org/TR/DOM-Level-3-Events/#changes-DOMLevel2to3Changes

Event.timeStamp is now a Number in the ECMAScript binding; a proposed
correction to make the same change in [DOM3 Core] is forthcoming.

and an action here:

http://www.w3.org/2008/webapps/track/actions/417

Can anybody hazard a guess as to when the  DOM Level 3 TR might be
updated with this change?

Many thanks

John


Re: [whatwg] DOMTimeStamp in W3C Core 3

2010-11-23 Thread Anne van Kesteren
On Tue, 23 Nov 2010 11:52:12 +0100, John Knottenbelt  
jknot...@chromium.org wrote:

Can anybody hazard a guess as to when the  DOM Level 3 TR might be
updated with this change?


DOMTimeStamp is now defined in Web IDL. DOM Core is now  
http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html



--
Anne van Kesteren
http://annevankesteren.nl/


Re: [whatwg] DOMTimeStamp in W3C Core 3

2010-11-23 Thread John Knottenbelt
Many thanks, Anne.

Do you know where i can find the WebIDL spec that mentions
DOMTimeStamp? I couldn't find a reference to it in
http://www.w3.org/TR/2010/WD-WebIDL-20101021/ .

On Tue, Nov 23, 2010 at 1:50 PM, Anne van Kesteren ann...@opera.com wrote:
 On Tue, 23 Nov 2010 11:52:12 +0100, John Knottenbelt jknot...@chromium.org
 wrote:

 Can anybody hazard a guess as to when the  DOM Level 3 TR might be
 updated with this change?

 DOMTimeStamp is now defined in Web IDL. DOM Core is now
 http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html


 --
 Anne van Kesteren
 http://annevankesteren.nl/



Re: [whatwg] DOMTimeStamp in W3C Core 3

2010-11-23 Thread Anne van Kesteren
On Tue, 23 Nov 2010 15:29:00 +0100, John Knottenbelt  
jknot...@chromium.org wrote:

Do you know where i can find the WebIDL spec that mentions
DOMTimeStamp? I couldn't find a reference to it in
http://www.w3.org/TR/2010/WD-WebIDL-20101021/ .


http://dev.w3.org/2006/webapi/WebIDL/#common-DOMTimeStamp

I wonder why the TR/ version does not include a link there. TR/ is almost  
always out of date.



--
Anne van Kesteren
http://annevankesteren.nl/


Re: [whatwg] DOMTimeStamp in W3C Core 3

2010-11-23 Thread John Knottenbelt
Thanks, Anne. That's very helpful.

On Tue, Nov 23, 2010 at 2:34 PM, Anne van Kesteren ann...@opera.com wrote:
 On Tue, 23 Nov 2010 15:29:00 +0100, John Knottenbelt jknot...@chromium.org
 wrote:

 Do you know where i can find the WebIDL spec that mentions
 DOMTimeStamp? I couldn't find a reference to it in
 http://www.w3.org/TR/2010/WD-WebIDL-20101021/ .

 http://dev.w3.org/2006/webapi/WebIDL/#common-DOMTimeStamp

 I wonder why the TR/ version does not include a link there. TR/ is almost
 always out of date.


 --
 Anne van Kesteren
 http://annevankesteren.nl/