CssParser
The CSS parser.
See http://dev.w3.org/csswg/css-syntax/#parsing for more details.
Gets if the parser has been started asynchronously.
Gets if the quirks-mode is activated.
Gets the resulting stylesheet of the parsing.
The event will be fired once an error has been detected.
Creates a new CSS parser instance with a new stylesheet
based on the given source.
Creates a new CSS parser instance with an new stylesheet
based on the given stream.
Creates a new CSS parser instance with the specified stylesheet
based on the given source.
Creates a new CSS parser instance with the specified stylesheet
based on the given stream.
public static CSSProperty ParseDeclaration(string declarations, IConfiguration configuration = null)
Takes a string and transforms it into a CSS declaration (CSS property).
public static CSSStyleDeclaration ParseDeclarations(string declarations, IConfiguration configuration = null)
Takes a string and transforms it into CSS declarations.
Takes a string and transforms it into a CSS rule.
Takes a string and transforms it into a selector object.
Takes a string and transforms it into a CSS stylesheet.
Takes a string and transforms it into a CSS value.
Parses the given source code.
Parses the given source asynchronously and creates the stylesheet.