B2G/gecko/browser/devtools/styleinspector/CssLogic.jsm
/**
   * Process an unmatched CssSelector object. Note that in order to avoid
   * information overload we DO NOT show unmatched system rules.
   *
   * @private
   * @param {CssSelector} aSelector the unmatched CssSelector object.
   */
Process an unmatched CssSelector object. Note that in order to avoid
information overload we DO NOT show unmatched system rules.

@private
@param {CssSelector} aSelector the unmatched CssSelector object.
Process an unmatched CssSelector object . Note that in order to avoid information overload we DO NOT show unmatched system rules . @private @param { CssSelector } aSelector the unmatched CssSelector object .
function CPI_processUnmatchedSelector(aSelector)
  {
    let cssRule = aSelector._cssRule;
    let value = cssRule.getPropertyValue(this.property);
    if (value) {
      let selectorInfo = new CssSelectorInfo(aSelector, this.property, value,
          CssLogic.STATUS.UNMATCHED);
      this._unmatchedSelectors.push(selectorInfo);
      if (this._cssLogic._passId != cssRule._passId) {
        if (cssRule.sheetAllowed) {
          this._unmatchedRuleCount++;
        }
        cssRule._passId = this._cssLogic._passId;
      }
    }
  }
function CPI_processUnmatchedSelector ( aSelector ) { let cssRule = aSelector . _cssRule ; let value = cssRule . getPropertyValue ( this . property ) ; if ( value ) { let selectorInfo = new CssSelectorInfo ( aSelector , this . property , value , CssLogic . STATUS . UNMATCHED ) ; this . _unmatchedSelectors . push ( selectorInfo ) ; if ( this . _cssLogic . _passId != cssRule . _passId ) { if ( cssRule . sheetAllowed ) { this . _unmatchedRuleCount ++ ; } cssRule . _passId = this . _cssLogic . _passId ; } } }
Process an unmatched CssSelector object.
Process an unmatched CssSelector object .