LayerTree.StickyPositionConstraint

Sticky position constraints.

{
  "id": "StickyPositionConstraint",
  "type": "object",
  "description": "Sticky position constraints.",
  "properties": [
    {
      "name": "stickyBoxRect",
      "$ref": "DOM.Rect",
      "description": "Layout rectangle of the sticky element before being shifted"
    },
    {
      "name": "containingBlockRect",
      "$ref": "DOM.Rect",
      "description": "Layout rectangle of the containing block of the sticky element"
    },
    {
      "name": "nearestLayerShiftingStickyBox",
      "$ref": "LayerId",
      "optional": true,
      "description": "The nearest sticky layer that shifts the sticky box"
    },
    {
      "name": "nearestLayerShiftingContainingBlock",
      "$ref": "LayerId",
      "optional": true,
      "description": "The nearest sticky layer that shifts the containing block"
    }
  ]
}