I think it's a good addition.

Another nice grouping feature would be something like a @subtree() or @scope() 
rule. 

@subtree(#menu ul) {
        li {}
        li:hover {}
        a {}
}

would expand as

#menu ul li {}
#menu ul li:hover {}
#menu ul a {}

It's a common feature from CSS "compilers" such as LESS 
(http://lesscss.org/docs) or CleverCSS (http://sandbox.pocoo.org/clevercss/). 
And it's very useful to style areas of a page.

Le 25 avr. 2010 à 02:14, Maciej Stachowiak a écrit :

> 
> Do we want a -webkit version of this?
> 
> http://dbaron.org/log/20100424-any
> 
> - Maciej
> 
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to