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 bug in scale-color with positive saturation #2954

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

zwass
Copy link
Contributor

@zwass zwass commented Jul 23, 2019

The ternary operator incorrectly selected the luminance value when it
should have used the saturation. With this fix, the returned values are
as expected per the issue.

See sass/sass-spec#1447
Fixes #2903.

The ternary operator incorrectly selected the luminance value when it
should have used the saturation. With this fix, the returned values are
as expected per the issue.

Fixes sass#2903.
@nschonni
Copy link
Collaborator

Thanks! Might need to enable something in sass-spec as well if there is a disabled test for this

@zwass
Copy link
Contributor Author

zwass commented Jul 23, 2019

I didn't find a test so I'm looking to add one.

zwass added a commit to zwass/sass-spec that referenced this pull request Jul 23, 2019
@zwass
Copy link
Contributor Author

zwass commented Jul 23, 2019

Oh wait I did find some disabled tests and put up a PR to enable them: sass/sass-spec#1447

@nschonni
Copy link
Collaborator

Just closing/opening to try and retrigger the sass-spec test using the PR text magic :)

@nschonni nschonni closed this Jul 23, 2019
@nschonni nschonni reopened this Jul 23, 2019
@xzyfer xzyfer merged commit e913264 into sass:master Jul 23, 2019
@xzyfer
Copy link
Contributor

xzyfer commented Jul 23, 2019

Thanks

xzyfer pushed a commit to sass/sass-spec that referenced this pull request Jul 23, 2019
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.

scale-color() produces incorrect colors
3 participants