├── README.md ├── bin └── csswring.js ├── index.js ├── lib ├── color.js ├── regexp.js └── unit.js ├── package.json └── test ├── expected ├── angle.css ├── at-import-url.css ├── at-import.css ├── at-keyframes-name.css ├── at-media-params.css ├── at-namespace-url.css ├── at-rule-aftername.css ├── at-supports-condition.css ├── calc.css ├── color.css ├── comment.css ├── content.css ├── decimal-with-zeros.css ├── duplicate-decl.css ├── duplicate-selector.css ├── empty-at-rule-block.css ├── empty-ruleset.css ├── erroneous-prop.css ├── extra-semicolon.css ├── font-face.css ├── font-family.css ├── font-weight.css ├── freq.css ├── hacks_min-width-0-percent.css ├── hacks_prop-comment.css ├── hacks_sign-prop.css ├── invalid-at-rule.css ├── invalid-keyframe.css ├── issue11.css ├── issue13.css ├── issue17.css ├── issue19.css ├── issue3.css ├── issue30.css ├── issue34.css ├── issue36.css ├── issue37.css ├── issue40.css ├── issue52.css ├── issue53.css ├── issue54.css ├── issue57.css ├── issue62.css ├── issue66.css ├── issue69.css ├── issue70.css ├── issue85.css ├── issue87.css ├── multiple-values.css ├── number-leading-zeros.css ├── ruleset-without-selector.css ├── selector-att.css ├── selector-combinator.css ├── selector-function.css ├── selector-pseudo-elements.css ├── selector-universal.css ├── time.css ├── url.css ├── white-space.css └── zero-value-unit.css ├── fixtures ├── angle.css ├── at-import-url.css ├── at-import.css ├── at-keyframes-name.css ├── at-media-params.css ├── at-namespace-url.css ├── at-rule-aftername.css ├── at-supports-condition.css ├── calc.css ├── color.css ├── comment.css ├── content.css ├── decimal-with-zeros.css ├── duplicate-decl.css ├── duplicate-selector.css ├── empty-at-rule-block.css ├── empty-ruleset.css ├── erroneous-prop.css ├── extra-semicolon.css ├── font-face.css ├── font-family.css ├── font-weight.css ├── freq.css ├── hacks_min-width-0-percent.css ├── hacks_prop-comment.css ├── hacks_sign-prop.css ├── invalid-at-rule.css ├── invalid-keyframe.css ├── issue11.css ├── issue13.css ├── issue17.css ├── issue19.css ├── issue3.css ├── issue30.css ├── issue34.css ├── issue36.css ├── issue37.css ├── issue40.css ├── issue52.css ├── issue53.css ├── issue54.css ├── issue57.css ├── issue62.css ├── issue66.css ├── issue69.css ├── issue70.css ├── issue85.css ├── issue87.css ├── multiple-values.css ├── number-leading-zeros.css ├── ruleset-without-selector.css ├── selector-att.css ├── selector-combinator.css ├── selector-function.css ├── selector-pseudo-elements.css ├── selector-universal.css ├── time.css ├── url.css ├── white-space.css └── zero-value-unit.css └── index.js /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/README.md -------------------------------------------------------------------------------- /bin/csswring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/bin/csswring.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/index.js -------------------------------------------------------------------------------- /lib/color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/lib/color.js -------------------------------------------------------------------------------- /lib/regexp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/lib/regexp.js -------------------------------------------------------------------------------- /lib/unit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/lib/unit.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/package.json -------------------------------------------------------------------------------- /test/expected/angle.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/angle.css -------------------------------------------------------------------------------- /test/expected/at-import-url.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-import-url.css -------------------------------------------------------------------------------- /test/expected/at-import.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-import.css -------------------------------------------------------------------------------- /test/expected/at-keyframes-name.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-keyframes-name.css -------------------------------------------------------------------------------- /test/expected/at-media-params.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-media-params.css -------------------------------------------------------------------------------- /test/expected/at-namespace-url.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-namespace-url.css -------------------------------------------------------------------------------- /test/expected/at-rule-aftername.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-rule-aftername.css -------------------------------------------------------------------------------- /test/expected/at-supports-condition.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/at-supports-condition.css -------------------------------------------------------------------------------- /test/expected/calc.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/calc.css -------------------------------------------------------------------------------- /test/expected/color.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/color.css -------------------------------------------------------------------------------- /test/expected/comment.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * This comment will *NOT* strip. 3 | */.foo{display:block} -------------------------------------------------------------------------------- /test/expected/content.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/content.css -------------------------------------------------------------------------------- /test/expected/decimal-with-zeros.css: -------------------------------------------------------------------------------- 1 | .foo{line-height:.6;transform:rotate(-.9deg)} 2 | -------------------------------------------------------------------------------- /test/expected/duplicate-decl.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/duplicate-decl.css -------------------------------------------------------------------------------- /test/expected/duplicate-selector.css: -------------------------------------------------------------------------------- 1 | .foo{display:block} 2 | -------------------------------------------------------------------------------- /test/expected/empty-at-rule-block.css: -------------------------------------------------------------------------------- 1 | .foo{display:block}@keyframes baz{/*! not empty */} 2 | -------------------------------------------------------------------------------- /test/expected/empty-ruleset.css: -------------------------------------------------------------------------------- 1 | .foo{display:block}.qux{/*! not empty */} 2 | -------------------------------------------------------------------------------- /test/expected/erroneous-prop.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/erroneous-prop.css -------------------------------------------------------------------------------- /test/expected/extra-semicolon.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/extra-semicolon.css -------------------------------------------------------------------------------- /test/expected/font-face.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/font-face.css -------------------------------------------------------------------------------- /test/expected/font-family.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/font-family.css -------------------------------------------------------------------------------- /test/expected/font-weight.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/font-weight.css -------------------------------------------------------------------------------- /test/expected/freq.css: -------------------------------------------------------------------------------- 1 | .foo{pitch:12kHz} 2 | -------------------------------------------------------------------------------- /test/expected/hacks_min-width-0-percent.css: -------------------------------------------------------------------------------- 1 | .foo{min-width:0%} 2 | -------------------------------------------------------------------------------- /test/expected/hacks_prop-comment.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/hacks_prop-comment.css -------------------------------------------------------------------------------- /test/expected/hacks_sign-prop.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/hacks_sign-prop.css -------------------------------------------------------------------------------- /test/expected/invalid-at-rule.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/invalid-at-rule.css -------------------------------------------------------------------------------- /test/expected/invalid-keyframe.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/invalid-keyframe.css -------------------------------------------------------------------------------- /test/expected/issue11.css: -------------------------------------------------------------------------------- 1 | .foo{transition:0s} 2 | -------------------------------------------------------------------------------- /test/expected/issue13.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue13.css -------------------------------------------------------------------------------- /test/expected/issue17.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue17.css -------------------------------------------------------------------------------- /test/expected/issue19.css: -------------------------------------------------------------------------------- 1 | @media(min-width:99px){.foo,.bar{display:auto}} 2 | -------------------------------------------------------------------------------- /test/expected/issue3.css: -------------------------------------------------------------------------------- 1 | .foo{border:1px solid #666} 2 | -------------------------------------------------------------------------------- /test/expected/issue30.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue30.css -------------------------------------------------------------------------------- /test/expected/issue34.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue34.css -------------------------------------------------------------------------------- /test/expected/issue36.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue36.css -------------------------------------------------------------------------------- /test/expected/issue37.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue37.css -------------------------------------------------------------------------------- /test/expected/issue40.css: -------------------------------------------------------------------------------- 1 | .foo{font-family:"ヒラギノ角ゴ Pro W3",serif}.bar[att="ほげ"]{display:block} 2 | -------------------------------------------------------------------------------- /test/expected/issue52.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue52.css -------------------------------------------------------------------------------- /test/expected/issue53.css: -------------------------------------------------------------------------------- 1 | .foo{color:black} 2 | -------------------------------------------------------------------------------- /test/expected/issue54.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue54.css -------------------------------------------------------------------------------- /test/expected/issue57.css: -------------------------------------------------------------------------------- 1 | .foo{flex:1 0 0%} 2 | -------------------------------------------------------------------------------- /test/expected/issue62.css: -------------------------------------------------------------------------------- 1 | .foo{width:calc(100% - 200px + 0%)} 2 | -------------------------------------------------------------------------------- /test/expected/issue66.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue66.css -------------------------------------------------------------------------------- /test/expected/issue69.css: -------------------------------------------------------------------------------- 1 | [foo="-"]{color:black} 2 | -------------------------------------------------------------------------------- /test/expected/issue70.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue70.css -------------------------------------------------------------------------------- /test/expected/issue85.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue85.css -------------------------------------------------------------------------------- /test/expected/issue87.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/issue87.css -------------------------------------------------------------------------------- /test/expected/multiple-values.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/multiple-values.css -------------------------------------------------------------------------------- /test/expected/number-leading-zeros.css: -------------------------------------------------------------------------------- 1 | .foo{top:10.7px} 2 | -------------------------------------------------------------------------------- /test/expected/ruleset-without-selector.css: -------------------------------------------------------------------------------- 1 | .foo{display:block} 2 | -------------------------------------------------------------------------------- /test/expected/selector-att.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/selector-att.css -------------------------------------------------------------------------------- /test/expected/selector-combinator.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/selector-combinator.css -------------------------------------------------------------------------------- /test/expected/selector-function.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/selector-function.css -------------------------------------------------------------------------------- /test/expected/selector-pseudo-elements.css: -------------------------------------------------------------------------------- 1 | .foo:before,.bar:first-line{color:black} 2 | -------------------------------------------------------------------------------- /test/expected/selector-universal.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/selector-universal.css -------------------------------------------------------------------------------- /test/expected/time.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/time.css -------------------------------------------------------------------------------- /test/expected/url.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/url.css -------------------------------------------------------------------------------- /test/expected/white-space.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/white-space.css -------------------------------------------------------------------------------- /test/expected/zero-value-unit.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/expected/zero-value-unit.css -------------------------------------------------------------------------------- /test/fixtures/angle.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/angle.css -------------------------------------------------------------------------------- /test/fixtures/at-import-url.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-import-url.css -------------------------------------------------------------------------------- /test/fixtures/at-import.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-import.css -------------------------------------------------------------------------------- /test/fixtures/at-keyframes-name.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-keyframes-name.css -------------------------------------------------------------------------------- /test/fixtures/at-media-params.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-media-params.css -------------------------------------------------------------------------------- /test/fixtures/at-namespace-url.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-namespace-url.css -------------------------------------------------------------------------------- /test/fixtures/at-rule-aftername.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-rule-aftername.css -------------------------------------------------------------------------------- /test/fixtures/at-supports-condition.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/at-supports-condition.css -------------------------------------------------------------------------------- /test/fixtures/calc.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/calc.css -------------------------------------------------------------------------------- /test/fixtures/color.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/color.css -------------------------------------------------------------------------------- /test/fixtures/comment.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/comment.css -------------------------------------------------------------------------------- /test/fixtures/content.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/content.css -------------------------------------------------------------------------------- /test/fixtures/decimal-with-zeros.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | line-height: 0.60; 3 | transform: rotate(-0.90deg); 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/duplicate-decl.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/duplicate-decl.css -------------------------------------------------------------------------------- /test/fixtures/duplicate-selector.css: -------------------------------------------------------------------------------- 1 | .foo, 2 | .foo { 3 | display: block; 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/empty-at-rule-block.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/empty-at-rule-block.css -------------------------------------------------------------------------------- /test/fixtures/empty-ruleset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/empty-ruleset.css -------------------------------------------------------------------------------- /test/fixtures/erroneous-prop.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/erroneous-prop.css -------------------------------------------------------------------------------- /test/fixtures/extra-semicolon.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/extra-semicolon.css -------------------------------------------------------------------------------- /test/fixtures/font-face.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/font-face.css -------------------------------------------------------------------------------- /test/fixtures/font-family.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/font-family.css -------------------------------------------------------------------------------- /test/fixtures/font-weight.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/font-weight.css -------------------------------------------------------------------------------- /test/fixtures/freq.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | pitch: 12000Hz; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/hacks_min-width-0-percent.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | min-width: 0%; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/hacks_prop-comment.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/hacks_prop-comment.css -------------------------------------------------------------------------------- /test/fixtures/hacks_sign-prop.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/hacks_sign-prop.css -------------------------------------------------------------------------------- /test/fixtures/invalid-at-rule.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/invalid-at-rule.css -------------------------------------------------------------------------------- /test/fixtures/invalid-keyframe.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/invalid-keyframe.css -------------------------------------------------------------------------------- /test/fixtures/issue11.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue11.css -------------------------------------------------------------------------------- /test/fixtures/issue13.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue13.css -------------------------------------------------------------------------------- /test/fixtures/issue17.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue17.css -------------------------------------------------------------------------------- /test/fixtures/issue19.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue19.css -------------------------------------------------------------------------------- /test/fixtures/issue3.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue3.css -------------------------------------------------------------------------------- /test/fixtures/issue30.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue30.css -------------------------------------------------------------------------------- /test/fixtures/issue34.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue34.css -------------------------------------------------------------------------------- /test/fixtures/issue36.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue36.css -------------------------------------------------------------------------------- /test/fixtures/issue37.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue37.css -------------------------------------------------------------------------------- /test/fixtures/issue40.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue40.css -------------------------------------------------------------------------------- /test/fixtures/issue52.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue52.css -------------------------------------------------------------------------------- /test/fixtures/issue53.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue53.css -------------------------------------------------------------------------------- /test/fixtures/issue54.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue54.css -------------------------------------------------------------------------------- /test/fixtures/issue57.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | flex: 1 0 0%; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/issue62.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | width: calc(100% - 200px + 0%); 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/issue66.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue66.css -------------------------------------------------------------------------------- /test/fixtures/issue69.css: -------------------------------------------------------------------------------- 1 | [foo="-"] { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/issue70.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue70.css -------------------------------------------------------------------------------- /test/fixtures/issue85.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue85.css -------------------------------------------------------------------------------- /test/fixtures/issue87.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/issue87.css -------------------------------------------------------------------------------- /test/fixtures/multiple-values.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/multiple-values.css -------------------------------------------------------------------------------- /test/fixtures/number-leading-zeros.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | top: 00010.7px; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/ruleset-without-selector.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/ruleset-without-selector.css -------------------------------------------------------------------------------- /test/fixtures/selector-att.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/selector-att.css -------------------------------------------------------------------------------- /test/fixtures/selector-combinator.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/selector-combinator.css -------------------------------------------------------------------------------- /test/fixtures/selector-function.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/selector-function.css -------------------------------------------------------------------------------- /test/fixtures/selector-pseudo-elements.css: -------------------------------------------------------------------------------- 1 | .foo::before, 2 | .bar::first-line { 3 | color: black; 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/selector-universal.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/selector-universal.css -------------------------------------------------------------------------------- /test/fixtures/time.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/time.css -------------------------------------------------------------------------------- /test/fixtures/url.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/url.css -------------------------------------------------------------------------------- /test/fixtures/white-space.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/white-space.css -------------------------------------------------------------------------------- /test/fixtures/zero-value-unit.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/fixtures/zero-value-unit.css -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hail2u/node-csswring/HEAD/test/index.js --------------------------------------------------------------------------------