Table of Contents

Class CSSFunctionRule

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

CSS function at-rule representation.

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

Constructors

CSSFunctionRule(Value, StyleSheetOrigin, ImmutableArray<CSSFunctionParameter>, ImmutableArray<CSSFunctionNode>)

CSS function at-rule representation.

public CSSFunctionRule(Value Name, StyleSheetOrigin Origin, ImmutableArray<CSSFunctionParameter> Parameters, ImmutableArray<CSSFunctionNode> Children)

Parameters

Name Value

Name of the function.

Origin StyleSheetOrigin

Parent stylesheet's origin.

Parameters ImmutableArray<CSSFunctionParameter>

List of parameters.

Children ImmutableArray<CSSFunctionNode>

Function body.

Properties

Children

Function body.

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

Property Value

ImmutableArray<CSSFunctionNode>

Name

Name of the function.

public Value Name { get; init; }

Property Value

Value

Origin

Parent stylesheet's origin.

public StyleSheetOrigin Origin { get; init; }

Property Value

StyleSheetOrigin

OriginTreeScopeNodeId

The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.

public BackendNodeId? OriginTreeScopeNodeId { get; init; }

Property Value

BackendNodeId

Parameters

List of parameters.

public ImmutableArray<CSSFunctionParameter> Parameters { get; init; }

Property Value

ImmutableArray<CSSFunctionParameter>

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