Re: CSS3 Selectors CR - Possible eratum

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 UTC