Re: [css-houdini-drafts] Nested CSS Selectors will be implemented?

[As it turns out](https://tabatkins.github.io/specs/css-nesting/), 
"naked" nesting like that has grammar problems, which Sass and other 
langs are okay with swallowing, but the browsers aren't.  
(Specifically, you can't tell apart arbitrary selectors and properties
 in a finite number of tokens; theoretically you have to read forward 
forever until you run into something disambiguating the two.)

In general, Houdini isn't about adding new features to CSS, but rather
 making CSS extensible, so that authors can add the features 
themselves (and show us what needs to be added to the core language). 
There are some Houdini features that might help in this regard; in 
particular, custom at-rules (letting people define a `@--nest` rule) 
would work.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/css-houdini-drafts/issues/333#issuecomment-262065198
 using your GitHub account

Received on Monday, 21 November 2016 20:59:09 UTC