Table of Contents

Class CSSAtRule

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

CSS generic @rule representation.

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

Constructors

CSSAtRule(string, StyleSheetOrigin, CSSStyle)

CSS generic @rule representation.

public CSSAtRule(string Type, StyleSheetOrigin Origin, CSSStyle Style)

Parameters

Type string

Type of at-rule.

Origin StyleSheetOrigin

Parent stylesheet's origin.

Style CSSStyle

Associated style declaration.

Properties

Name

LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType) Associated name, if applicable.

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

Subsection

Subsection of font-feature-values, if this is a subsection.

public string? Subsection { get; init; }

Property Value

string

Type

Type of at-rule.

public string Type { get; init; }

Property Value

string