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

Contradiction in the CSS 2.1 WD?

From: Scott Montgomery <scott@scottshelly.com>
Date: Tue, 27 Aug 2002 08:09:09 +0200
Message-ID: <005801c24d90$43097d80$b2db8b50@HomeStation>
To: <www-style@w3.org>

Could someone explain if this is a contradiction in the WD.  Or am I just
misunderstanding it somehow?

In 6.4.1 Cascading order
the WD says:

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.

And then in 6.4.3 Calculating a selector's specificity
(http://www.w3.org/TR/2002/WD-CSS21-20020802/cascade.html#specificity), the
WD says:

a.. ignore pseudo-elements.

Which is it?  Ignore them or count them?


Scott Montgomery
Received on Tuesday, 27 August 2002 02:11:01 UTC

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