[whatwg] Timing API proposal for measuring intervals

Boris Zbarsky bzbarsky at MIT.EDU
Thu Jul 7 19:52:01 PDT 2011


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



More information about the whatwg mailing list