Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

jansiegel
Copy link

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

lsiu added a commit to lsiu/CSSStyleDeclaration that referenced this pull request Sep 27, 2017
…ng’, e.g. ‘border-spacing: 0’. Include test.
@lsiu
Copy link
Contributor

lsiu commented Sep 27, 2017

We use jsdom for some testing and some libraries we test with has border-spacing set to 0.
Can we merge this PR and publish a new release to npmjs?
Thanks!

@lsiu
Copy link
Contributor

lsiu commented Sep 27, 2017

I did another PR #52 which include a test and follow the same approach used in padding.js

@sairoutine
Copy link

+1 for merging this, got the same error on jsdom.

@chad3814

@jansiegel
Copy link
Author

#52 does basically the same thing as this one + adds tests, so I'm +1 for merging either one of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants