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

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 UTC