W3C home > Mailing lists > Public > public-web-perf@w3.org > April 2013

Re: requestAnimationFrame behavior on display:none iframes

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 13 Apr 2013 06:21:04 +0200
Message-ID: <CA+c2ei8XozbT1naSgHLeXKqy84QSkVXZbf8jsmqWZx_+GEYDRg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: James Robinson <jamesr@google.com>, "public-web-perf@w3.org" <public-web-perf@w3.org>
On Sat, Apr 13, 2013 at 5:50 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 4/12/13 11:48 PM, Jonas Sicking wrote:
>> It seems to me that by making display:none iframes slow down the rate
>> of rAF callbacks
> Note that I'm proposing them not invoking callbacks at all, not just slowing
> them down.  I realize that's not necessarily what you're proposing.

Ah. That's totally fine with me too. In fact it's even better since it
increases the chance that developers catch a mistake if it's done.

My argument still stands that changing the behavior of rAF in
display:none iframes seems to optimize for the common cases while
supporting both.

/ Jonas
Received on Saturday, 13 April 2013 04:22:05 UTC

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