W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] Timing API proposal for measuring intervals

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 07 Jul 2011 22:52:01 -0400
Message-ID: <4E1670D1.3090208@mit.edu>
On 7/7/11 10:36 PM, Robert O'Callahan wrote:
> One question is whether you allow the value to change while a script runs.
> When using the value to schedule animations, it would be helpful for the
> value to only change between stable states.
>
> If you refer to this value during requestAnimationFrame, does it give you
> the current time, or the predicted time at which the frame will render?

I think we want a separate time value for animation scheduling as 
currently proposed in the web perf APIs, which would give you the 
predicted time of next frame render.

-Boris
Received on Thursday, 7 July 2011 19:52:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC