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

Improved handling of negative numbers in declaraion lists #831

Merged
merged 2 commits into from
Jan 12, 2015

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Jan 12, 2015

This PR improves the handling of negative numbers in declaration lists.

It turns out Ruby sass treats 0.75em and .75em differently when it comes to parsing -. This is likely a bug, but I've replicated the behaviour until it's changed upstream.

I'll open an issue to track this behaviour.

Fixes #828. Specs added sass/sass-spec#235.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) when pulling 38ead64 on xzyfer:fix/negative-numbers into 1ad267f on sass:master.

xzyfer added a commit that referenced this pull request Jan 12, 2015
Improved handling of negative numbers in declaraion lists
@xzyfer xzyfer merged commit 930dc97 into sass:master Jan 12, 2015
@xzyfer xzyfer added this to the 3.2 milestone Jan 12, 2015
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.

Still some issue with negative number
2 participants