{ "domain": "LayerTree", "availability": ["web"], "types": [ { "id": "LayerId", "type": "string", "description": "Unique RenderLayer identifier." }, { "id": "PseudoElementId", "type": "string", "description": "Unique PseudoElement identifier." }, { "id": "IntRect", "type": "object", "description": "A rectangle.", "properties": [ { "name": "x", "type": "integer", "description": "The x position." }, { "name": "y", "type": "integer", "description": "The y position." }, { "name": "width", "type": "integer", "description": "The width metric." }, { "name": "height", "type": "integer", "description": "The height metric." } ] }, { "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." } ] }, { "id": "CompositingReasons", "type": "object", "description": "An object containing the reasons why the layer was composited as properties.", "properties": [ { "name": "transform3D", "type": "boolean", "optional": true, "description": "Composition due to association with an element with a CSS 3D transform." }, { "name": "video", "type": "boolean", "optional": true, "description": "Composition due to association with a