Table of Contents

Class StickyPositionConstraint

Namespace
Selenium.WebDriver.BiDi.Cdp.LayerTree
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Sticky position constraints.

public sealed record StickyPositionConstraint : IEquatable<StickyPositionConstraint>
Inheritance
StickyPositionConstraint
Implements
Inherited Members

Constructors

StickyPositionConstraint(Rect, Rect)

Sticky position constraints.

public StickyPositionConstraint(Rect StickyBoxRect, Rect ContainingBlockRect)

Parameters

StickyBoxRect Rect

Layout rectangle of the sticky element before being shifted

ContainingBlockRect Rect

Layout rectangle of the containing block of the sticky element

Properties

ContainingBlockRect

Layout rectangle of the containing block of the sticky element

public Rect ContainingBlockRect { get; init; }

Property Value

Rect

NearestLayerShiftingContainingBlock

The nearest sticky layer that shifts the containing block

public LayerId? NearestLayerShiftingContainingBlock { get; init; }

Property Value

LayerId

NearestLayerShiftingStickyBox

The nearest sticky layer that shifts the sticky box

public LayerId? NearestLayerShiftingStickyBox { get; init; }

Property Value

LayerId

StickyBoxRect

Layout rectangle of the sticky element before being shifted

public Rect StickyBoxRect { get; init; }

Property Value

Rect