Re: CSS Hierarchies / Selector Nesting Proposal

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 UTC