Table of Contents

Class CSSRule

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

CSSRule

public sealed class CSSRule
Inheritance
CSSRule
Inherited Members

Properties

ContainerQueries

containerQueries

[JsonPropertyName("containerQueries")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSContainerQuery[] ContainerQueries { get; set; }

Property Value

CSSContainerQuery[]

Layers

layers

[JsonPropertyName("layers")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSLayer[] Layers { get; set; }

Property Value

CSSLayer[]

Media

media

[JsonPropertyName("media")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSMedia[] Media { get; set; }

Property Value

CSSMedia[]

NestingSelectors

nestingSelectors

[JsonPropertyName("nestingSelectors")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[] NestingSelectors { get; set; }

Property Value

string[]

Origin

origin

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

Property Value

StyleSheetOrigin

RuleTypes

ruleTypes

[JsonPropertyName("ruleTypes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSRuleType[] RuleTypes { get; set; }

Property Value

CSSRuleType[]

Scopes

scopes

[JsonPropertyName("scopes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSScope[] Scopes { get; set; }

Property Value

CSSScope[]

SelectorList

selectorList

[JsonPropertyName("selectorList")]
public SelectorList SelectorList { get; set; }

Property Value

SelectorList

StartingStyles

startingStyles

[JsonPropertyName("startingStyles")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSStartingStyle[] StartingStyles { get; set; }

Property Value

CSSStartingStyle[]

Style

style

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

Property Value

CSSStyle

StyleSheetId

styleSheetId

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

Property Value

string

Supports

supports

[JsonPropertyName("supports")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSSupports[] Supports { get; set; }

Property Value

CSSSupports[]