nsAtomList* pseudoClass = aSelector.mPseudoClassList;
nsAtomStringList* pseudoClass = aSelector.mPseudoClassList;
PRBool IsStateSelector(nsCSSSelector& aSelector){  nsAtomList* pseudoClass = aSelector.mPseudoClassList;  while (pseudoClass) {    if ((pseudoClass->mAtom == nsCSSAtoms::activePseudo) ||        (pseudoClass->mAtom == nsCSSAtoms::checkedPseudo) ||        (pseudoClass->mAtom == nsCSSAtoms::dragOverPseudo) ||         (pseudoClass->mAtom == nsCSSAtoms::focusPseudo) ||         (pseudoClass->mAtom == nsCSSAtoms::hoverPseudo)) {      return PR_TRUE;    }    pseudoClass = pseudoClass->mNext;  }  return PR_FALSE;}