- From: Majid Valipour <notifications@github.com>
- Date: Thu, 09 Mar 2017 14:22:42 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/420/review/26160214@github.com>
majido commented on this pull request. > @@ -761,15 +764,14 @@ initialized to false. the user agent to dispatch an <a>event</a> whose {{Event/isTrusted}} attribute is initialized to false. -The <dfn attribute for=Event><code>timeStamp</code></dfn> attribute -must return the value it was initialized to. When an -<a>event</a> is created the attribute must be -initialized to the number of milliseconds that have passed since -00:00:00 UTC on 1 January 1970, ignoring leap seconds. -<!-- leap seconds are ignored by JavaScript too --> +The <dfn attribute for=Event><code>timeStamp</code></dfn> attribute must return the value it was +initialized to. If available, the attribute should be initialized with the high resolution time of +the occurrence that the event is signaling, for example the moment when a particular user +interaction occurred. Otherwise it should be initialized with the creation time of the +<var>event</var>. This is the same terminology that was used before. The way I read it was the time where the <var>event</var> instance was constructed which is what Chrome implementation was also using. Put it another way this is IMHO step 1 in section 2.4. Perhaps it should link to that. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/420#discussion_r105285964
Received on Thursday, 9 March 2017 22:23:17 UTC