W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [css-display]? Compositing, expensive things, and laziness

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 9 May 2013 20:23:24 -0700
Message-ID: <CAAWBYDCgTSgjuU6=Wy7LaHrbKi8URU+K30wRTYttpvtfs-_A3g@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: Ali Juma <ajuma@chromium.org>, www-style <www-style@w3.org>, Jon Rimmer <jon.rimmer@gmail.com>
On Thu, May 9, 2013 at 7:50 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Thu, May 9, 2013 at 8:09 AM, Ali Juma <ajuma@chromium.org> wrote:
>> If we don’t want the spinner to finish fading out until the expensive real
>> content can be faded in, we’d have to guess how long the expensive content
>> will take to paint, and use that guess when determining the duration of the
>> spinner fade-out.
>
> So this is a different use-case to the one Tab originally described?

It does sound slightly different (which may mean I misunderstood the
original feature request, or just that Ali is pointing out a somewhat
different use-case).

>> Also, rAF-driven animations would still stall while the expensive content
>> is being painted.
>
> I'm not suggesting a rAF-driven animation, just a rAF-triggered animation.

Right, but as soon as the animation triggers, and starts its expensive
paint, unrelated rAF timers will hitch as well.

~TJ
Received on Friday, 10 May 2013 03:24:11 UTC

This archive was generated by hypermail 2.3.1 : Friday, 10 May 2013 03:24:12 UTC