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
(http://www.w3.org/TR/2002/WD-CSS21-20020802/cascade.html#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?

Thanks.

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

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