css-object-model

css-object-model is an implementation of the CSSOM specification

MIT License

Downloads
8
Stars
9

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