C# Class SharpVectors.Dom.Css.CssImportRule

The CSSImportRule interface represents a @import rule within a CSS style sheet. The @import rule is used to import style rules from other style sheets.
Inheritance: CssRule, ICssImportRule
Show file 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
CssImportRule ( Match match, object parent, bool readOnly, string replacedStrings, CssStyleSheetType origin ) : System

The constructor for CssImportRule

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