specificity property

int specificity
override

This selector's specificity.

Specificity is represented in base 1000. The spec says this should be "sufficiently high"; it's extremely unlikely that any single selector sequence will contain 1000 simple selectors.

Implementation

int get specificity => math.pow(super.specificity, 2) as int;