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

Re: Beginning of a spec on style batching/flushing?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 11 Dec 2013 11:52:25 -0500
Message-ID: <52A89849.8050906@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 12/11/13 9:35 AM, Boris Zbarsky wrote:
> And an implementatjon that in fact synchronously does the render on snapshot()
> (which sounds like it would not violate your constraints)

Actually, is that true?

Specifically, are the following black-box distinguishable in any way 
other than when transitions start:

1)  A UA that implements your proposed model.
2)  A UA that synchronously does restyle, layout, render when
     snapshot() is called.
3)  A UA that synchronously does restyle and layout, construct a data
     structure that can be used to render, and hand off to an async
     renderer when snapshot() is called.
4)  A UA that takes a snapshot of all DOM/CSSOM state when snapshot()
     is called and then does an async restyle/layout/render off that
     snapshot (which might in fact be your proposed model).

I suspect that other than transition starts these 4 are in fact 
indistinguishable.  Transition starts allow distinguishing 1&4 from 2&3 
but not 1 from 4 or 2 from 3, right?

-Boris
Received on Wednesday, 11 December 2013 16:52:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC