-
Notifications
You must be signed in to change notification settings - Fork 268
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
mix implementation is not correct #60
Conversation
it doesn’t work for actual examples from a { color: mix(#f00, #00f); }
=> a { color: #800080; } /* which is identical to purple if you using http://sassmeister.com/ */ but color.mix is resulting |
probably these failing tests are similar to #46 |
What is the purpose of this PR. Will you fix those? |
Purpose of this pr is a proof, that |
Should I? If you have no time or will to do it, then yes, I will take it. |
No time for this right now. Too busy with other stuff :) |
okie-dokie, will do it |
will close and re-open when will be ready |
my fix is already done, but I have one question. are you avoiding named tests and mocha as test runner? |
legacy from the original author of the module. I use tape everyday, so I would like to see this one :) But since I didn't do anything yet, I guess mocha is better than nothing. Feel free to push :) |
Done and tests are green! |
Do you confirm that this is a patch only ? (So I can release as a patch) |
formally, it is a patch, because previous implementations was incorrect. I only properly ported C implementation |
but, i’m afraid that this method can be used by somebody and they dont expect their site to be totally different after patch deps-bump |
so probably it is backwards-incompatible patch, but im not sure |
Since we are in 0.x, I will release 0.x+1 :) |
valid point! |
as far as we switching to mocha, I updated instructions |
mix implementation is not correct
Does this fix #46 btw ? |
Released as 0.9.0 |
these tests from libsass’s spec. For me they are not working in https://github.com/iamstarkov/postcss-color-mix