Class StickyPositionConstraint
- java.lang.Object
-
- org.openqa.selenium.devtools.layertree.model.StickyPositionConstraint
-
public class StickyPositionConstraint extends java.lang.Object
Sticky position constraints.
-
-
Constructor Summary
Constructors Constructor Description StickyPositionConstraint(Rect stickyBoxRect, Rect containingBlockRect, LayerId nearestLayerShiftingStickyBox, LayerId nearestLayerShiftingContainingBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rect
getContainingBlockRect()
Layout rectangle of the containing block of the sticky elementLayerId
getNearestLayerShiftingContainingBlock()
The nearest sticky layer that shifts the containing blockLayerId
getNearestLayerShiftingStickyBox()
The nearest sticky layer that shifts the sticky boxRect
getStickyBoxRect()
Layout rectangle of the sticky element before being shifted
-
-
-
Method Detail
-
getStickyBoxRect
public Rect getStickyBoxRect()
Layout rectangle of the sticky element before being shifted
-
getContainingBlockRect
public Rect getContainingBlockRect()
Layout rectangle of the containing block of the sticky element
-
getNearestLayerShiftingStickyBox
public LayerId getNearestLayerShiftingStickyBox()
The nearest sticky layer that shifts the sticky box
-
getNearestLayerShiftingContainingBlock
public LayerId getNearestLayerShiftingContainingBlock()
The nearest sticky layer that shifts the containing block
-
-