Table of Contents

Class CSSPositionTryRule

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

CSS @position-try rule representation.

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

Constructors

CSSPositionTryRule(Value, StyleSheetOrigin, CSSStyle, bool)

CSS @position-try rule representation.

public CSSPositionTryRule(Value Name, StyleSheetOrigin Origin, CSSStyle Style, bool Active)

Parameters

Name Value

The prelude dashed-ident name

Origin StyleSheetOrigin

Parent stylesheet's origin.

Style CSSStyle

Associated style declaration.

Active bool

Properties

Active

public bool Active { get; init; }

Property Value

bool

Name

The prelude dashed-ident name

public Value Name { get; init; }

Property Value

Value

Origin

Parent stylesheet's origin.

public StyleSheetOrigin Origin { get; init; }

Property Value

StyleSheetOrigin

Style

Associated style declaration.

public CSSStyle Style { get; init; }

Property Value

CSSStyle

StyleSheetId

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

public StyleSheetId? StyleSheetId { get; init; }

Property Value

StyleSheetId