CSS.CSSRule

CSS rule representation.

{
  "id": "CSSRule",
  "description": "CSS rule representation.",
  "type": "object",
  "properties": [
    {
      "name": "styleSheetId",
      "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
      "optional": true,
      "$ref": "StyleSheetId"
    },
    {
      "name": "selectorList",
      "optional": true,
      "description": "Rule selector data.",
      "$ref": "SelectorList"
    },
    {
      "name": "origin",
      "optional": true,
      "description": "Parent stylesheet's origin.",
      "$ref": "StyleSheetOrigin"
    },
    {
      "name": "style",
      "description": "Associated style declaration.",
      "$ref": "CSSStyle"
    },
    {
      "name": "media",
      "description": "Media list array (for rules involving media queries). The array enumerates media queries\nstarting with the innermost one, going outwards.",
      "optional": true,
      "type": "array",
      "items": {
        "$ref": "CSSMedia"
      }
    }
  ]
}