Table of Contents

Class CSSFunctionConditionNode

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

CSS function conditional block representation.

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

Constructors

CSSFunctionConditionNode(ImmutableArray<CSSFunctionNode>, string)

CSS function conditional block representation.

public CSSFunctionConditionNode(ImmutableArray<CSSFunctionNode> Children, string ConditionText)

Parameters

Children ImmutableArray<CSSFunctionNode>

Block body.

ConditionText string

The condition text.

Properties

Children

Block body.

public ImmutableArray<CSSFunctionNode> Children { get; init; }

Property Value

ImmutableArray<CSSFunctionNode>

ConditionText

The condition text.

public string ConditionText { get; init; }

Property Value

string

ContainerQueries

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

public CSSContainerQuery? ContainerQueries { get; init; }

Property Value

CSSContainerQuery

Media

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

public CSSMedia? Media { get; init; }

Property Value

CSSMedia

Navigation

@navigation condition. Only one type of condition should be set.

public CSSNavigation? Navigation { get; init; }

Property Value

CSSNavigation

Supports

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

public CSSSupports? Supports { get; init; }

Property Value

CSSSupports