- From: Michael Day <mikeday@yeslogic.com>
- Date: Tue, 10 Feb 2004 07:22:07 +1100 (EST)
- To: Ernest Cline <ernestcline@mindspring.com>
- Cc: W3C CSS List <www-style@w3.org>
Hi Ernest, I see your point regarding the page "pseudo-classes"; in Prince we have implemented them such that :first has higher specificity: any = specific(0,0,0) left = specific(0,0,1) right = specific(0,0,1) first = specific(0,1,0) named = specific(1,0,0) However, the rule for regular element pseudo-classes is not so simple either, due to the negated pseudo-class, whose specificity is the specificity of the simple selector that it negates: * = specific(0,0,0) foo = specific(0,0,1) :link = specific(0,1,0) #foo = specific(1,0,0) :not(#foo) = specific(1,0,0) Does this change anything? Michael -- YesLogic Prince prints XML! http://yeslogic.com
Received on Monday, 9 February 2004 16:24:36 UTC