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.

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