[whatwg] What is the purpose of timeupdate?
Eric Carlson
eric.carlson at apple.com
Fri Nov 6 09:20:10 PST 2009
On Nov 6, 2009, at 1:44 AM, Philip Jägenstedt wrote:
> We've considered firing it for each frame, but there is one problem.
> If people expect that it fires once per frame they will probably
> write scripts which do frame-based animations by moving things n
> pixels per frame or similar. Some animations are just easier to do
> this way, so there's no reason to think that people won't do it.
> This will break horribly if a browser is ever forced to drop a
> frame, which is going to happen on slower machines. In balance this
> may or may not be a risk worth taking.
>
I share Philip's concern.
eric
More information about the whatwg
mailing list