Table of Contents

Class CSSPropertyRule

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

CSS property at-rule representation.

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

Constructors

CSSPropertyRule(StyleSheetOrigin, Value, CSSStyle)

CSS property at-rule representation.

public CSSPropertyRule(StyleSheetOrigin Origin, Value PropertyName, CSSStyle Style)

Parameters

Origin StyleSheetOrigin

Parent stylesheet's origin.

PropertyName Value

Associated property name.

Style CSSStyle

Associated style declaration.

Properties

Origin

Parent stylesheet's origin.

public StyleSheetOrigin Origin { get; init; }

Property Value

StyleSheetOrigin

PropertyName

Associated property name.

public Value PropertyName { get; init; }

Property Value

Value

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