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

Hydrate division operands when it makes sense #770

Merged
merged 1 commit into from Dec 26, 2014

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Dec 26, 2014

This PR addresses some issue with number comparisons, specifically cases involving divisions. Currently 1/2 becomes a delayed node, because of this it's evaluated in cases like 1/2 == 0.5 resulting in a false comparison.

Fixes #590. Specs added sass/sass-spec#137, sass/sass-spec#200.

xzyfer added a commit that referenced this pull request Dec 26, 2014
Hydrate division operands when it makes sense
@xzyfer xzyfer merged commit 7adb5ae into sass:master Dec 26, 2014
@xzyfer xzyfer modified the milestone: 3.1 Dec 29, 2014
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.

Number comparison is different to ruby sass
1 participant