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

should not remove spaces in calc() function #86

Closed
jonkemp opened this issue Jan 18, 2017 · 4 comments
Closed

should not remove spaces in calc() function #86

jonkemp opened this issue Jan 18, 2017 · 4 comments

Comments

@jonkemp
Copy link
Contributor

jonkemp commented Jan 18, 2017

Spaces are mandatory inside CSS calc() function, and should not be removed in inlining.

.foo {
  width: calc(100% - 80px);
}

gets parsed to this

.foo {width: calc(100%-80px);}

and that doesn't work in the browser.

linear-gradient also has the same issue.

linear-gradient(135deg, #00689b 0%, #00375a 90%, #00375a 90%, #003455 100%);

gets parsed to this

linear-gradient(135deg, #00689b0%, #00375a90%, #00375a90%, #003455100%);

@NV
Copy link
Owner

NV commented Jan 20, 2017

@jonkemp please verify if the issue is resolved now.

@jonkemp
Copy link
Contributor Author

jonkemp commented Jan 20, 2017

How do I verify this?

@jonkemp
Copy link
Contributor Author

jonkemp commented Jan 20, 2017

Yeah looks good.

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

No branches or pull requests

2 participants