Table of Contents

Interface ICssSelectorItem

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

Interface for CSS selector items.

public interface ICssSelectorItem

Methods

GetSpecificity()

Gets the specificity.

int GetSpecificity()

Returns

int

the specificity

Matches(INode)

Checks if the selector matches an element.

bool Matches(INode element)

Parameters

element INode

the element

Returns

bool

true, if there's a match