docs: def _calcSpecificity(self):
          """from http://www.w3.org/TR/CSS21/cascade.html#specificity"""
          hashCount = 0
          qualifierCount = 0
          elementCount = int(self.name != '*')
          for q in self.qualifiers:
              if q.isHash():
                  hashCount += 1
              elif q.isClass():
                  qualifierCount += 1
              elif q.isAttr():
                  qualifierCount += 1
              elif q.isPseudo():
                  elementCount += 1
              elif q.isCombiner():
                  i, h, q, e = q.selector.specificity()
                  hashCount += h
                  qualifierCount += q
                  elementCount += e
          return self.inline, hashCount, qualifierCount, elementCount