Adds this and the given specificity by summing all its individual parameters.
Compares this instance with the given specificity.
Compares this instance with the given specificity. Applies the CSS standard weighting of first comparing the number of specified ids, followed by classes, then types and finally the order.
Represents the specificity of a style selector or predicate. This is modeled after the precedence rules of the CSS standard.