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
eltXmlElementThe element to find styles for
pseudoEltstringThe pseudo-element to find styles for
mlMediaListThe medialist that the document is using
csdCssCollectedStyleDeclarationA CssStyleDeclaration that holds the collected styles