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

Re: [css3-selectors] Grouping

From: timeless <timeless@gmail.com>
Date: Tue, 19 Jan 2010 12:31:18 +0200
Message-ID: <26b395e61001190231p25f433c3j36b73d1602e61ca1@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
On Fri, Jan 8, 2010 at 8:15 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> The second example isn't nonsense, the :any() just isn't adding
> anything to the existing element selector.  The selector will only
> match <div>s.

is that true?

div:any(div) {
color: green;
}
div {
color: black;
}

does the :any give the former rule more specificity? :)
Received on Tuesday, 19 January 2010 10:31:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT