Table of Contents

Class CSSFunctionConditionNode

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

CSS function conditional block representation.

public sealed class CSSFunctionConditionNode
Inheritance
CSSFunctionConditionNode
Inherited Members

Properties

Children

Block body.

[JsonPropertyName("children")]
public CSSFunctionNode[] Children { get; set; }

Property Value

CSSFunctionNode[]

ConditionText

The condition text.

[JsonPropertyName("conditionText")]
public string ConditionText { get; set; }

Property Value

string

ContainerQueries

Container query for this conditional block. Only one type of condition should be set.

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

Property Value

CSSContainerQuery

Media

Media query for this conditional block. Only one type of condition should be set.

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

Property Value

CSSMedia

Supports

@supports CSS at-rule condition. Only one type of condition should be set.

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

Property Value

CSSSupports