Table of Contents

Method GetStylesForElement

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

GetStylesForElement(XmlElement, string, MediaList, CssCollectedStyleDeclaration)

Used to find matching style rules in the cascading order

protected override void GetStylesForElement(XmlElement elt, string pseudoElt, MediaList ml, CssCollectedStyleDeclaration csd)

Parameters

elt XmlElement

The element to find styles for

pseudoElt string

The pseudo-element to find styles for

ml MediaList

The medialist that the document is using

csd CssCollectedStyleDeclaration

A CssStyleDeclaration that holds the collected styles