[CSS21] selector's specificity issues.

#1 -----------------------------------------------------------------

Algortihm described in [1] for counting style selector's specificity
does not distinguish cases:

"ul li" and "ul>li"

Obviously second case is more strong/specific therefore it should have a
bigger weight.

I am not sure though so will be glad to hear any comments.

#2 -----------------------------------------------------------------

CSS grammar and lexical rules [2] do not define "*" asterisk (as an
indentifier) at all.
Or I am wrong here?

Seems like it is impossible right now to say neither
"ul >>img" nor "ul >*>img"

==============================================
[1] http://www.w3.org/TR/CSS21/cascade.html#specificity
[2] http://www.w3.org/TR/CSS21/grammar.html#q1


Andrew Fedoniouk.
http://terrainformatica.com

Received on Thursday, 8 July 2004 01:14:15 UTC