W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Re: Contradiction in the CSS 2.1 WD?

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 31 Aug 2002 18:48:48 +0000 (GMT)
To: Scott Montgomery <scott@scottshelly.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.21.0208311846230.2213-100000@dhalsim.dreamhost.com>

On Tue, 27 Aug 2002, Scott Montgomery wrote:
> 3.  Sort by specificity of selector: more specific selectors will override
> more general ones. Pseudo-elements and pseudo-classes are counted as normal
> elements and classes, respectively.
> [...] 
> a.. ignore pseudo-elements.

Yeah, that was a known CSS2 error which we missed while editing CSS 2.1.

> Which is it?  Ignore them or count them?

Count them.

Not that it makes any difference whatsoever.

The next draft should have this fixed, unless it is one of those errata
items that has a life of its own, like the "classes can't start with
numbers unless escaped" errata, which was "fixed" at least a dozen times
before staying fixed...

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 31 August 2002 14:48:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC