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 virtual void GetStylesForElement(XmlElement elt, string pseudoElt, MediaList ml, CssCollectedStyleDeclaration csd)
Parameters
elt
XmlElementThe element to find styles for
pseudoElt
stringThe pseudo-element to find styles for
ml
MediaListThe medialist that the document is using
csd
CssCollectedStyleDeclarationA CssStyleDeclaration that holds the collected styles