B2G/gecko/browser/devtools/styleinspector/CssRuleView.jsm
/**
   * Copy a property value from the rule view.
   *
   * @param aEvent The event object
   */
Copy a property value from the rule view.
@param aEvent The event object
Copy a property value from the rule view . @param aEvent The event object
function CssRuleView_onCopyPropertyValue(aEvent)
  {
    let node = this.doc.popupNode;
    if (!node) {
      return;
    }
    if (!node.classList.contains("ruleview-propertyvalue")) {
      node = node.querySelector(".ruleview-propertyvalue");
    }
    if (node) {
      clipboardHelper.copyString(node.textContent, this.doc);
    }
  }
function CssRuleView_onCopyPropertyValue ( aEvent ) { let node = this . doc . popupNode ; if ( ! node ) { return ; } if ( ! node . classList . contains ( "ruleview-propertyvalue" ) ) { node = node . querySelector ( ".ruleview-propertyvalue" ) ; } if ( node ) { clipboardHelper . copyString ( node . textContent , this . doc ) ; } }
Copy a property value from the rule view.
Copy a property value from the rule view .