Table of Contents

Interface ICssSelector

Namespace
iText.StyledXmlParser.Css.Selector
Assembly
itext.styledxmlparser.dll

Interface for CSS Selector classes.

public interface ICssSelector

Methods

CalculateSpecificity()

Calculates the specificity.

int CalculateSpecificity()

Returns

int

the specificity

Matches(INode)

Checks if a node matches the selector.

bool Matches(INode node)

Parameters

node INode

the node

Returns

bool

true, if the selector is a match for the node