[whatwg] Timing API proposal for measuring intervals

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