Class CSSFunctionRule
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
NameValueName of the function.
OriginStyleSheetOriginParent stylesheet's origin.
ParametersImmutableArray<CSSFunctionParameter>List of parameters.
ChildrenImmutableArray<CSSFunctionNode>Function body.
Properties
Children
Function body.
public ImmutableArray<CSSFunctionNode> Children { get; init; }
Property Value
Name
Name of the function.
public Value Name { get; init; }
Property Value
Origin
Parent stylesheet's origin.
public StyleSheetOrigin Origin { get; init; }
Property Value
OriginTreeScopeNodeId
The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
public BackendNodeId? OriginTreeScopeNodeId { get; init; }
Property Value
Parameters
List of parameters.
public ImmutableArray<CSSFunctionParameter> Parameters { get; init; }
Property Value
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; }