css-object-model
v0.3.0
Published
An implementation of the CSSOM specification
Downloads
4
Readme
css-object-model
css-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.
Interfaces
Fully supported
- CSSFontFaceRule
- CSSNamespaceRule
- CSSRule
- CSSRuleList
- StyleSheetList
Partially supported
- CSSStyleDeclaration
- CSSStyleRule
- CSSStyleSheet
- StyleSheet
Not supported (yet)
- CSS
- CSSConditionRule
- CSSGroupingRule
- CSSImportRule
- CSSKeyframeRule
- CSSKeyframesRule
- CSSMarginRule
- CSSMediaRule
- CSSPageRule
- MediaList