import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { StickyPositionConstraint } = Protocol.LayerTree;
Sticky position constraints.
Properties
stickyBoxRect: DOM.Rect
Layout rectangle of the sticky element before being shifted
containingBlockRect: DOM.Rect
Layout rectangle of the containing block of the sticky element
optional
nearestLayerShiftingStickyBox: LayerIdThe nearest sticky layer that shifts the sticky box
optional
nearestLayerShiftingContainingBlock: LayerIdThe nearest sticky layer that shifts the containing block