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

RE: requestAnimationFrame behavior on display:none iframes

From: Jatinder Mann <jmann@microsoft.com>
Date: Fri, 6 Jul 2012 17:35:15 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "public-web-perf@w3.org" <public-web-perf@w3.org>
Message-ID: <AE5FFD9402CD4F4785E812F2C9929D650E3696A7@BL2PRD0310MB374.namprd03.prod.outlook.com>
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.

IE will tick for display:none iframes, as the document.hidden is false.

Thanks,
Jatinder
Received on Friday, 6 July 2012 17:36:45 UTC

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