CSS.setRuleSelector

Modifies the rule selector.

{
  "name": "setRuleSelector",
  "parameters": [
    {
      "name": "ruleId",
      "$ref": "CSSRuleId"
    },
    {
      "name": "selector",
      "type": "string"
    }
  ],
  "returns": [
    {
      "name": "rule",
      "$ref": "CSSRule",
      "description": "The resulting rule after the selector modification."
    }
  ],
  "description": "Modifies the rule selector."
}