W3C home > Mailing lists > Public > www-style@w3.org > September 2007

Re: CSS21] CR-CSS21-20070719, 6.4.3 Selector specificity

From: Andrei Polushin <polushin@gmail.com>
Date: Wed, 19 Sep 2007 02:49:34 +0700
Message-ID: <46F02BCE.4070107@gmail.com>
To: www-style@w3.org

Ian Hickson wrote:
> It really doesn't matter. Even with multiple pseudo-elements, you can't 
> have different numbers of pseudo-elements in a selector with the selector 
> selecting the same pseudo-element. So, whenever you compare two selectors 
> at the specificity level, they will always have the same number of 
> pseudo-elements, and thus it doesn't matter if you count them or not.

Fair enough. This makes me feel that the very mentioning of pseudo-elements
in CSS21 6.4.3[1] is redundant and rather confusing.

[1] http://www.w3.org/TR/2007/CR-CSS21-20070719/cascade.html#specificity

-- 
Andrei Polushin
Received on Tuesday, 18 September 2007 19:49:52 GMT

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