An implementation of the CSSOM specification
npm install css-object-modelcss-object-model is an implementation of the CSS Object Model (CSSOM) specification for use in jsdom. It is built upon the excellent CSSTree parser, which provides speed and standards-compliant parsing.
This package is a work in progress, with the currently supported interfaces listed below.
* CSSFontFaceRule
* CSSNamespaceRule
* CSSRule
* CSSRuleList
* StyleSheetList
* CSSStyleDeclaration
* CSSStyleRule
* CSSStyleSheet
* StyleSheet
* CSS
* CSSConditionRule
* CSSGroupingRule
* CSSImportRule
* CSSKeyframeRule
* CSSKeyframesRule
* CSSMarginRule
* CSSMediaRule
* CSSPageRule
* MediaList