CSS.CSSStyle

CSS style representation.

{
  "id": "CSSStyle",
  "type": "object",
  "properties": [
    {
      "name": "styleId",
      "$ref": "CSSStyleId",
      "optional": true,
      "description": "The CSS style identifier (absent for attribute styles)."
    },
    {
      "name": "cssProperties",
      "type": "array",
      "items": {
        "$ref": "CSSProperty"
      },
      "description": "CSS properties in the style."
    },
    {
      "name": "shorthandEntries",
      "type": "array",
      "items": {
        "$ref": "ShorthandEntry"
      },
      "description": "Computed values for all shorthands found in the style."
    },
    {
      "name": "cssText",
      "type": "string",
      "optional": true,
      "description": "Style declaration text (if available)."
    },
    {
      "name": "range",
      "$ref": "SourceRange",
      "optional": true,
      "description": "Style declaration range in the enclosing stylesheet (if available)."
    },
    {
      "name": "width",
      "type": "string",
      "optional": true,
      "description": "The effective \"width\" property value from this style."
    },
    {
      "name": "height",
      "type": "string",
      "optional": true,
      "description": "The effective \"height\" property value from this style."
    }
  ],
  "description": "CSS style representation."
}