Table of Contents

Class CSSAtRule

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

CSS generic @rule representation.

public sealed class CSSAtRule
Inheritance
CSSAtRule
Inherited Members

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.

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Value? Name { get; set; }

Property Value

Value

Origin

Parent stylesheet's origin.

[JsonPropertyName("origin")]
public StyleSheetOrigin Origin { get; set; }

Property Value

StyleSheetOrigin

Style

Associated style declaration.

[JsonPropertyName("style")]
public CSSStyle Style { get; set; }

Property Value

CSSStyle

StyleSheetId

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

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

Property Value

string

Subsection

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

[JsonPropertyName("subsection")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSAtRuleSubsectionValues? Subsection { get; set; }

Property Value

CSSAtRuleSubsectionValues?

Type

Type of at-rule.

[JsonPropertyName("type")]
public CSSAtRuleTypeValues Type { get; set; }

Property Value

CSSAtRuleTypeValues