C# Class SharpVectors.Dom.Css.CssStyleRule

The CSSStyleRule interface represents a single rule set in a CSS style sheet.
Inheritance: CssRule, ICssStyleRule
Datei anzeigen Open project: codebutler/savagesvg Class Usage Examples

Protected Methods

Method Description
GetStylesForElement ( XmlElement elt, string pseudoElt, MediaList ml, CssCollectedStyleDeclaration csd ) : void

Used to find matching style rules in the cascading order

Private Methods

Method Description
CssStyleRule ( Match match, object parent, bool readOnly, string replacedStrings, CssStyleSheetType origin ) : System

The constructor for CssStyleRule

Parse ( string &css, object parent, bool readOnly, string replacedStrings, CssStyleSheetType origin ) : CssRule

Method Details

GetStylesForElement() protected method

Used to find matching style rules in the cascading order
protected GetStylesForElement ( XmlElement elt, string pseudoElt, MediaList ml, CssCollectedStyleDeclaration csd ) : void
elt System.Xml.XmlElement The element to find styles for
pseudoElt string The pseudo-element to find styles for
ml SharpVectors.Dom.Stylesheets.MediaList The medialist that the document is using
csd CssCollectedStyleDeclaration A CssStyleDeclaration that holds the collected styles
return void