W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: Enhancing grouping of selectors

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 17 Sep 2010 13:18:45 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Matthew Millar <mattmill30@hotmail.com>, www-style@w3.org
Message-ID: <20100917201845.GA21048@pickering.dbaron.org>
On Friday 2010-09-17 08:03 -0700, Tab Atkins Jr. wrote:
> This runs into issues with scoping.  From what it looks like, your &
> combinator only lets you group together selectors that form a single
> element (that is, no element of the group can have any other
> combinators).  :any() lets you group arbitrary selectors together.

What I implemented in Gecko is without combinators, actually.

It wouldn't be particularly hard to implement (though it makes the
specificity issue in
a little more complicated).  It might make the selectors a good bit
harder to read, though.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 17 September 2010 20:19:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC