W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: The need to re-subscribe to requestAnimationFrame

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 02 Mar 2013 09:12:37 -0500
Message-ID: <513208D5.3060105@mit.edu>
To: public-webapps@w3.org
On 3/2/13 6:45 AM, Lars Knudsen wrote:
> Imagine that you have a callback that does a lot of heavy rendering and
> the rAF returns AGAIN while "// do stuff".

Can't happen, unless the callback calls showModalDialog or something 
else that spins the event loop.


P.S. Note that you can make your followup requestAnimationFrame call at 
the very beginning of the callback function and it will work fine too.
Received on Saturday, 2 March 2013 14:13:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 14:37:04 UTC