B2G/gecko/browser/devtools/styleinspector/CssRuleView.jsm
/**
   * Handle changes the input text.
   */
Handle changes the input text.
Handle changes the input text .
function InplaceEditor_onInput(aEvent)
  {
    if (this.warning && this.validate) {
      this.warning.hidden = this.validate(this.input.value);
    }
    if (this._measurement) {
      this._updateSize();
    }
    if (this.change) {
      this.change(this.input.value.trim());
    }
  }
function InplaceEditor_onInput ( aEvent ) { if ( this . warning && this . validate ) { this . warning . hidden = this . validate ( this . input . value ) ; } if ( this . _measurement ) { this . _updateSize ( ) ; } if ( this . change ) { this . change ( this . input . value . trim ( ) ) ; } }
Handle changes the input text.
Handle changes the input text .
// Validate the entered value. // Update size if we're autosizing. // Call the user's change handler if available.