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

Re: [css-display-viewport] Enabling fast layout for web apps via isolation

From: Paul Bakaus <pbakaus@zynga.com>
Date: Mon, 7 Jan 2013 13:40:31 +0000
To: François REMY <francois.remy.dev@outlook.com>, CSS WG <www-style@w3.org>
CC: Tobie Langel <tobie@fb.com>, Tab Atkins <jackalmage@gmail.com>
Message-ID: <CD108E16.18223%pbakaus@zynga.com>
Hi François,

Love your proposal, very intriguing. Not sure if I should be concerned or
excited that it seems that you (well, more-so Tab ;) would like to create
a "high performance CSS alternative" within CSS. But hey, if it helps
performance and is relatively straight forward to implement for the web
developers, all for it.

Looking forward to hear Tab's finding on whether such optimizations help a
lot or just a little.

Thanks!
Paul

On 20.12.12 16:35, "François REMY" <francois.remy.dev@outlook.com> wrote:

>Hi,
>
>This week, I had some time to write about a proposal I discussed during
>TPAC 
>with Tab Atkins called Œdisplay: viewport¹ aiming at making CSS layouts
>more 
>efficient by reducing the intrication level (aka: downplaying the impact
>of 
>large and dynamic DOM trees on rendering performance), and I did so
>mainly 
>because I talked about it at least two times on the mailing list during
>the 
>past month without even making it official. Let's consider this as my
>Christmas gift to the WG ;-)
>
>The use cases I¹m trying to solve are multiple, but here are the most
>important ones:
>
>    - Fast relayout experience when elements are added in the DOM on
>complex 
>web pages (infinite scrolling, non-canvas html games, animated
>layouts...) 
>[1]
>
>    - Better layout isolation for web components (aka Œsandboxing¹), and
>a 
>first step toward enabling new use cases like ³local MQ²
>(element-size-based
>layouts) [2]
>
>I won¹t repeat in this mail everything I already said previously in the
>different specialized threads referenced at the bottom of this mail, but
>you 
>can find a nicely written introduction (1.0) and prior art discussion
>(1.3) 
>as well as some open issues in the Œspecification¹ itself, which I invite
>you to have a look at.
>
>        http://fremycompany.com/TR/2012/ED-css-viewport/
>
>Best regards and best wishes for the end of year,
>François
>
>[1] http://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story
>(look for Œiframe¹)
>[1] http://lists.w3.org/Archives/Public/www-style/2012Nov/0527.html
>[2] http://lists.w3.org/Archives/Public/www-style/2012Dec/0230.html
>
>
Received on Monday, 7 January 2013 13:41:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT