 
             _pseudoSubjects[subject] = true;
         }
+
+        // Record whether this is an advanced selector
+        if (styleDeclaration.isAdvanced())
+            _hasAdvancedSelectors = true;
 
         // Flush cache and start over.
         if (_typeSelectorCache)

    		theSelectors.push(i);

    	return theSelectors;
    }

    /**


    /**
     *  @private
     *  Whether any advanced selectors have been registered with this style
     *  manager.
     */ 
    private var _hasAdvancedSelectors:Boolean;

    /**
     *  @private
     *  A map of CSS subjects that have pseudo selectors. If a subject does
     *  have a pseudo selector, a state change requires styles to be
     *  recalculated.
