mirror of https://github.com/jkjoy/sunpeiwen.git
16 lines
934 B
Markdown
16 lines
934 B
Markdown
# CSSStyleDeclaration
|
|
|
|
A Node JS implementation of the CSS Object Model [CSSStyleDeclaration interface](https://www.w3.org/TR/cssom-1/#the-cssstyledeclaration-interface).
|
|
|
|
[![NpmVersion](https://img.shields.io/npm/v/cssstyle.svg)](https://www.npmjs.com/package/cssstyle) [![Build Status](https://travis-ci.org/jsdom/cssstyle.svg?branch=master)](https://travis-ci.org/jsdom/cssstyle) [![codecov](https://codecov.io/gh/jsdom/cssstyle/branch/master/graph/badge.svg)](https://codecov.io/gh/jsdom/cssstyle)
|
|
|
|
---
|
|
|
|
#### Background
|
|
|
|
This package is an extension of the CSSStyleDeclaration class in Nikita Vasilyev's [CSSOM](https://github.com/NV/CSSOM) with added support for CSS 2 & 3 properties. The primary use case is for testing browser code in a Node environment.
|
|
|
|
It was originally created by Chad Walker, it is now maintaind by Jon Sakas and other open source contributors.
|
|
|
|
Bug reports and pull requests are welcome.
|