Re: [webkit-dev] Mozilla -moz-any() selectors extension
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. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Mozilla -moz-any() selectors extension
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 > webkit-dev@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Mozilla -moz-any() selectors extension
+1 Filed: https://bugs.webkit.org/show_bug.cgi?id=38095 On Sat, Apr 24, 2010 at 5:14 PM, Maciej Stachowiak wrote: > > Do we want a -webkit version of this? > > http://dbaron.org/log/20100424-any > > - Maciej > > ___ > webkit-dev mailing list > webkit-dev@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Mozilla -moz-any() selectors extension
Do we want a -webkit version of this? http://dbaron.org/log/20100424-any - Maciej ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev