Obtains the specificity of a passed selector or list of selectors, as per the W3C spec on selector specificity.
var retVal = DiagnosticsStyles.getSpecificity(selector);
A CSS selector or a comma-separated selector list.
Object or array containing the following info:
- Count of the number of ID selectors in the selector.
- Count of the number of class selectors, attributes selectors, and pseudo-classes in the selector.
- Count of the number of type selectors and pseudo-elements in the selector.