Skip to content

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