Table of Contents

Class SpecificityComponent

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

Contribution of an individual simple selector to specificity.

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

Constructors

SpecificityComponent(string, long, long, long)

Contribution of an individual simple selector to specificity.

public SpecificityComponent(string Text, long A, long B, long C)

Parameters

Text string

The simple selector text that contributes to specificity.

A long

The a component contribution.

B long

The b component contribution.

C long

The c component contribution.

Properties

A

The a component contribution.

public long A { get; init; }

Property Value

long

B

The b component contribution.

public long B { get; init; }

Property Value

long

C

The c component contribution.

public long C { get; init; }

Property Value

long

Text

The simple selector text that contributes to specificity.

public string Text { get; init; }

Property Value

string