B2G/gecko/browser/devtools/styleinspector/CssRuleView.jsm
/**
   * Programatically add a new property to the rule.
   *
   * @param string aName
   *        Property name.
   * @param string aValue
   *        Property value.
   * @param string aPriority
   *        Property priority.
   */
Programatically add a new property to the rule.
@param string aName
Property name.
@param string aValue
Property value.
@param string aPriority
Property priority.
Programatically add a new property to the rule . @param string aName Property name . @param string aValue Property value . @param string aPriority Property priority .
function RuleEditor_addProperty(aName, aValue, aPriority)
  {
    let prop = this.rule.createProperty(aName, aValue, aPriority);
    let editor = new TextPropertyEditor(this, prop);
    this.propertyList.appendChild(editor.element);
  }
function RuleEditor_addProperty ( aName , aValue , aPriority ) { let prop = this . rule . createProperty ( aName , aValue , aPriority ) ; let editor = new TextPropertyEditor ( this , prop ) ; this . propertyList . appendChild ( editor . element ) ; }
Programatically add a new property to the rule.
Programatically add a new property to the rule .