W3C home > Mailing lists > Public > www-style@w3.org > March 2003

Re: CSS3 Selectors CR - Possible eratum

From: Etan Wexler <ewexler@stickdog.com>
Date: Tue, 04 Mar 2003 03:24:38 -0800
To: Ernest Cline <ernestcline@mindspring.com>, www-style@w3.org
Message-id: <BA89CCF5.103%ewexler@stickdog.com>

Ernest Cline wrote to <www-style@w3.org> on 4 March 2003 in " CSS3 Selectors
CR - Possible eratum" (<mid:3E641A0B.24627.2ADA2CE@localhost>):

> In the example in Section 9, shouldn't the specificity of the the last
> example #s12:not(FOO) be 111 instead of 101 because of the :not?

The specificity is (1, 0, 1), not  (1, 1, 1). I quote "Calculating a
selector's specificity"
(<http://www.w3.org/TR/2001/CR-css3-selectors-20011113#specificity>):

    A selector's specificity is calculated as follows:
     * negative selectors are counted like their simple selectors argument
Received on Tuesday, 4 March 2003 06:25:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT