Click or drag to resize

LayoutTreeSnapshot Properties

Version 89.0.170

The LayoutTreeSnapshot type exposes the following members.

Properties
  NameDescription
Public propertyBounds
The absolute position bounding box.
Public propertyClientRects
The client rect of nodes. Only available when includeDOMRects is set to true
Public propertyNodeIndex
Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`.
Public propertyOffsetRects
The offset rect of nodes. Only available when includeDOMRects is set to true
Public propertyPaintOrders
Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in captureSnapshot was true.
Public propertyScrollRects
The scroll rect of nodes. Only available when includeDOMRects is set to true
Public propertyStackingContexts
Stacking context information.
Public propertyStyles
Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`.
Public propertyText
Contents of the LayoutText, if any.
Top
See Also