B2G/gecko/browser/devtools/styleinspector/CssRuleView.jsm
/**
   * Update the rules for the currently highlighted element.
   */
Update the rules for the currently highlighted element.
Update the rules for the currently highlighted element .
function CssRuleView_nodeChanged()
  {
    if (this.isEditing) {
      return;
    }
    this._clearRules();
    this._elementStyle.populate();
    this._createEditors();
    var evt = this.doc.createEvent("Events");
    evt.initEvent("CssRuleViewRefreshed", true, false);
    this.element.dispatchEvent(evt);
  }
function CssRuleView_nodeChanged ( ) { if ( this . isEditing ) { return ; } this . _clearRules ( ) ; this . _elementStyle . populate ( ) ; this . _createEditors ( ) ; var evt = this . doc . createEvent ( "Events" ) ; evt . initEvent ( "CssRuleViewRefreshed" , true , false ) ; this . element . dispatchEvent ( evt ) ; }
Update the rules for the currently highlighted element.
Update the rules for the currently highlighted element .
// Ignore refreshes during editing. // Repopulate the element style. // Refresh the rule editors. // Notify anyone that cares that we refreshed.