W3C home > Mailing lists > Public > public-web-perf@w3.org > July 2012

Re: requestAnimationFrame behavior on display:none iframes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 Jul 2012 09:36:31 -0400
Message-ID: <4FF6E9DF.5030900@mit.edu>
To: public-web-perf@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:33 UTC