Table of Contents

Class StickyPositionConstraint

Namespace
OpenQA.Selenium.DevTools.V146.LayerTree
Assembly
Selenium.WebDriver.dll

Sticky position constraints.

public sealed class StickyPositionConstraint
Inheritance
StickyPositionConstraint
Inherited Members

Properties

ContainingBlockRect

Layout rectangle of the containing block of the sticky element

[JsonPropertyName("containingBlockRect")]
public Rect ContainingBlockRect { get; set; }

Property Value

Rect

NearestLayerShiftingContainingBlock

The nearest sticky layer that shifts the containing block

[JsonPropertyName("nearestLayerShiftingContainingBlock")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? NearestLayerShiftingContainingBlock { get; set; }

Property Value

string

NearestLayerShiftingStickyBox

The nearest sticky layer that shifts the sticky box

[JsonPropertyName("nearestLayerShiftingStickyBox")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? NearestLayerShiftingStickyBox { get; set; }

Property Value

string

StickyBoxRect

Layout rectangle of the sticky element before being shifted

[JsonPropertyName("stickyBoxRect")]
public Rect StickyBoxRect { get; set; }

Property Value

Rect