Re: requestAnimationFrame behavior on display:none iframes

On 7/3/12 1:30 AM, Nat Duca wrote:
> Should requestAnimationFrame tick on display:none iframes?
>
> A simple test:
> http://www.jankfree.com/raf/iframes_and_visibility_when_hidden.html
>
> FF and Chrome differ:
> -  FF doesn't tick
> - Webkit does
>
> Not sure what IE does.
>
> And, what do we think is "correct"?

For what it's worth, I believe the Firefox behavior here is as correct 
as the WebKit behavior of never ticking it in background tabs...

-Boris

P.S.  The above URL is 404, but if you want to post you testcase I can 
take a look at what IE does.

Received on Friday, 6 July 2012 13:37:03 UTC