You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:nth-child(even of li, .item) has a specificity of (0,2,0)—like a class selector (.item) plus a pseudo-class—when matched against any of <li>, <ul class=item>, or <li class=item id=foo>.
Yes, this syntax is not accounted for yet. It's parsed correctly due to Parsel's permissiveness, but it's not implemented in the specificity calculation.
See example 59 from https://www.w3.org/TR/selectors-4/#specificity-rules
AST (in
recursive
parsing mode):Specificity:
0,1,0
The text was updated successfully, but these errors were encountered: