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

Use precision 10 for specs by default. #1132

Merged
merged 2 commits into from
Dec 13, 2018
Merged

Use precision 10 for specs by default. #1132

merged 2 commits into from
Dec 13, 2018

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Jun 2, 2017

See sass/sass#1122

[skip dart-sass]

@nex3
Copy link
Contributor Author

nex3 commented Jun 2, 2017

@xzyfer It looks like changing the default precision is causing libsass to produce different colors for some reason. Can you take a look?

@nschonni
Copy link
Contributor

nschonni commented Jun 2, 2017

Think the upstream issue is sass/libsass#2294

@nex3
Copy link
Contributor Author

nex3 commented Jul 18, 2018

@mgreter Changing the precision that's used for Sass arithmetic shouldn't affect the colors from color functions, but it does. I think this is a LibSass bug, and it's blocking my ability to land this pull request without marking tons of specs as TODO for LibSass. Can you look into fixing that?

@nex3 nex3 assigned mgreter and unassigned xzyfer Jul 18, 2018
@nex3
Copy link
Contributor Author

nex3 commented Jul 23, 2018

@mgreter ping?

@nex3
Copy link
Contributor Author

nex3 commented Aug 16, 2018

@mgreter @xzyfer This really needs one of your attention.

LibSass doesn't seem to correctly handle numbers at the far end of
precision.

See sass/libsass#3788
@nex3
Copy link
Contributor Author

nex3 commented Dec 12, 2018

Since there hasn't been any response from the LibSass folks on this, I guess I'll just mark those specs as TODO.

@nex3 nex3 merged commit 3159eca into master Dec 13, 2018
@nex3 nex3 deleted the precision-10 branch December 13, 2018 23:27
glebm added a commit to glebm/sass-spec that referenced this pull request Dec 15, 2018
Follow-up to sass#1132

I'm guessing these weren't caught because of warning todos (failures are
ignore with probe-todo that runs on CI, even though it's just a warning
todo).
xzyfer pushed a commit that referenced this pull request Dec 16, 2018
Follow-up to #1132

I'm guessing these weren't caught because of warning todos (failures are
ignore with probe-todo that runs on CI, even though it's just a warning
todo).
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.

5 participants