According to https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Cascade/Specificity#selector_weight_categories pseudo-classes (and other things) are counted for the class column, i.e. the CSS selector:
.table > :last-child > tr:last-child > *
has specificity (0, 3, 1) (the class column is 3 because of the .table class and the two :last-child pseudo classes). However cssutils 2.11.1 reports the specificity for this selector as (0, 1, 1) (because only the tr is counted).
Are there any plans to update cssutils to calculate the specificity based on the current standard?
According to https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Cascade/Specificity#selector_weight_categories pseudo-classes (and other things) are counted for the class column, i.e. the CSS selector:
has specificity (0, 3, 1) (the class column is 3 because of the
.tableclass and the two:last-childpseudo classes). Howevercssutils2.11.1 reports the specificity for this selector as (0, 1, 1) (because only thetris counted).Are there any plans to update
cssutilsto calculate the specificity based on the current standard?