[webkit-dev] Mozilla -moz-any() selectors extension
Simon Fraser
simon.fraser at apple.com
Fri Apr 30 08:27:18 PDT 2010
The best place to suggest and discuss new CSS features is on the www-style mailing list:
http://lists.w3.org/Archives/Public/www-style/
Simon
On Apr 30, 2010, at 8:23 AM, Anthony Ricaud wrote:
> 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.
More information about the webkit-dev
mailing list