Table of Contents

Class CSSFunctionRule

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

CSS function at-rule representation.

public sealed class CSSFunctionRule
Inheritance
CSSFunctionRule
Inherited Members

Properties

Children

Function body.

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

Property Value

CSSFunctionNode[]

Name

Name of the function.

[JsonPropertyName("name")]
public Value Name { get; set; }

Property Value

Value

Origin

Parent stylesheet's origin.

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

Property Value

StyleSheetOrigin

OriginTreeScopeNodeId

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

[JsonPropertyName("originTreeScopeNodeId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? OriginTreeScopeNodeId { get; set; }

Property Value

long?

Parameters

List of parameters.

[JsonPropertyName("parameters")]
public CSSFunctionParameter[] Parameters { get; set; }

Property Value

CSSFunctionParameter[]

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