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

Re: The :min-width/:max-width pseudo-classes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 22 Mar 2013 13:41:57 -0400
Message-ID: <514C97E5.70501@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Fran├žois REMY <francois.remy.dev@outlook.com>, "www-style@w3.org" <www-style@w3.org>
On 3/22/13 1:30 PM, Tab Atkins Jr. wrote:
> It would be a property that switches it into "viewport mode", where
> its intrinsic size is no longer dependent on its children.  (No cyclic
> dependencies, because the viewport-element-relative pseudos can't
> apply to the subject of the selector.)

That's still really bad.

In particular, it means that you have to serialize style computation on 
a parent and CSS selector matching on its kids, because you can't do the 
latter until you've done the former and determined whether the parent 
has a magic property.

And that means that any hope of parallelizing selector matching across 
the tree is pretty much dead....

-Boris
Received on Friday, 22 March 2013 17:42:26 GMT

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