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

Fix partial numbers being detected as numbers #235

Merged
merged 2 commits into from
Jan 3, 2017
Merged

Fix partial numbers being detected as numbers #235

merged 2 commits into from
Jan 3, 2017

Conversation

PaulBGD
Copy link
Member

@PaulBGD PaulBGD commented Dec 31, 2016

Fixes #234

Figured I'd finally fix one of these issues I'm reporting, let me know if there's any more tests that should be added to make sure this doesn't break anything.

@PaulBGD
Copy link
Member Author

PaulBGD commented Dec 31, 2016

Looking at http://stackoverflow.com/a/175787/1670183 maybe we could just use isNaN?

@Rich-Harris
Copy link
Member

Looking at http://stackoverflow.com/a/175787/1670183 maybe we could just use isNaN?

yep, i think you're right — I made that change (hooray for GitHub's web interface making it easy to edit PRs). Thanks!

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.

Attributes with values like "20vw" get converted incorrectly
2 participants