[whatwg] What is the purpose of timeupdate?

Robert O'Callahan robert at ocallahan.org
Fri Nov 6 02:05:03 PST 2009

On Fri, Nov 6, 2009 at 10:44 PM, Philip Jägenstedt <philipj at opera.com>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.

That's possible, but we haven't noticed authors doing that yet.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091106/a565a321/attachment-0002.htm>

More information about the whatwg mailing list