W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] What is the purpose of timeupdate?

From: Simon Pieters <simonp@opera.com>
Date: Fri, 06 Nov 2009 12:16:06 +0100
Message-ID: <op.u2yz81w3idj3kv@zcorpandell.linkoping.osa>
On Fri, 06 Nov 2009 11:05:03 +0100, Robert O'Callahan  
<robert at ocallahan.org> wrote:

> 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.

http://people.mozilla.com/~prouget/demos/round/index.xhtml

-- 
Simon Pieters
Opera Software
Received on Friday, 6 November 2009 03:16:06 UTC

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