W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: CSS Hierarchies / Selector Nesting Proposal

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 03 Jun 2011 09:49:46 -0400
Message-ID: <4DE8E67A.2020006@mit.edu>
To: www-style@w3.org
CC: Eduard Pascual <herenvardo@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
On 6/3/11 9:38 AM, Boris Zbarsky wrote:
> On 6/3/11 9:35 AM, Eduard Pascual wrote:
>> For a moment I felt exactly the same, but I think there are some cases
>> where the "&input" construct could make sense
>
> Sure. I just no longer understand what the proposed processing model is,
> past "do something that's in Tab's head".

In particular, should this work?

.foo {
   body > & { color: green; }
   #bar & .baz { color: blue; }
}

?  If not, why not?

-Boris
Received on Friday, 3 June 2011 13:50:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:41 GMT