LayerTree.Layer

Information about a compositing layer.

{
  "id": "Layer",
  "type": "object",
  "description": "Information about a compositing layer.",
  "properties": [
    {
      "name": "layerId",
      "$ref": "LayerId",
      "description": "The unique id for this layer."
    },
    {
      "name": "nodeId",
      "$ref": "DOM.NodeId",
      "description": "The id for the node associated with this layer."
    },
    {
      "name": "bounds",
      "$ref": "IntRect",
      "description": "Bounds of the layer in absolute page coordinates."
    },
    {
      "name": "paintCount",
      "type": "integer",
      "description": "Indicates how many time this layer has painted."
    },
    {
      "name": "memory",
      "type": "integer",
      "description": "Estimated memory used by this layer."
    },
    {
      "name": "compositedBounds",
      "$ref": "IntRect",
      "description": "The bounds of the composited layer."
    },
    {
      "name": "isInShadowTree",
      "type": "boolean",
      "optional": true,
      "description": "Indicates whether this layer is associated with an element hosted in a shadow tree."
    },
    {
      "name": "isReflection",
      "type": "boolean",
      "optional": true,
      "description": "Indicates whether this layer was used to provide a reflection for the element."
    },
    {
      "name": "isGeneratedContent",
      "type": "boolean",
      "optional": true,
      "description": "Indicates whether the layer is attached to a pseudo element that is CSS generated content."
    },
    {
      "name": "isAnonymous",
      "type": "boolean",
      "optional": true,
      "description": "Indicates whether the layer was created for a CSS anonymous block or box."
    },
    {
      "name": "pseudoElementId",
      "$ref": "PseudoElementId",
      "optional": true,
      "description": "The id for the pseudo element associated with this layer."
    },
    {
      "name": "pseudoElement",
      "type": "string",
      "optional": true,
      "description": "The name of the CSS pseudo-element that prompted the layer to be generated."
    }
  ]
}