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 : Friday, 27 October 2017 07:26:52 UTC