CSS.LayoutTreeNode

Details of an element in the DOM tree with a LayoutObject.

{
  "id": "LayoutTreeNode",
  "type": "object",
  "properties": [
    {
      "name": "nodeId",
      "$ref": "DOM.NodeId",
      "description": "The id of the related DOM node matching one from DOM.GetDocument."
    },
    {
      "name": "boundingBox",
      "$ref": "DOM.Rect",
      "description": "The absolute position bounding box."
    },
    {
      "name": "layoutText",
      "type": "string",
      "optional": true,
      "description": "Contents of the LayoutText if any"
    },
    {
      "name": "inlineTextNodes",
      "type": "array",
      "optional": true,
      "items": {
        "$ref": "InlineTextBox"
      },
      "description": "The post layout inline text nodes, if any."
    },
    {
      "name": "styleIndex",
      "type": "integer",
      "optional": true,
      "description": "Index into the computedStyles array returned by getLayoutTreeAndStyles."
    }
  ],
  "description": "Details of an element in the DOM tree with a LayoutObject.",
  "experimental": true
}