jsdom / cssstyle

A Node.js implementation of the CSS Object Model CSSStyleDeclaration interface
MIT License
109 stars 70 forks source link

Add support for numeric values passed to ‘border-spacing’, e.g. ‘border-spacing: 0’. #63

Closed jansiegel closed 5 years ago

jansiegel commented 6 years ago

When providing 0 to border-spacing, cssstyle throws a v.toLowerCase is not a function error.

I've submitted a pull request back in 2016 (#47), since then, an alternative approach came up (#52), but neither of them have been merged, and this problem still seems to be happening.

fatfisz commented 5 years ago

This seems to have been fixed in #52, so I'm closing the issue. Pleasse reopen if the problem persists.