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

Re: [css3-selectors] Grouping

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 19 Jan 2010 07:52:13 -0600
Message-ID: <dd0fbad1001190552r401900bdhcebc97602df24725@mail.gmail.com>
To: timeless@gmail.com
Cc: www-style list <www-style@w3.org>
On Tue, Jan 19, 2010 at 4:31 AM, timeless <timeless@gmail.com> wrote:
> 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? :)

Yeah, specificity has been covered.  It's just tiresome to point out
constantly.  ^_^

~TJ
Received on Tuesday, 19 January 2010 13:53:08 GMT

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