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

Stripping white spaces between an operator and parenthese breaks CSS calc on Chromium #61

Open
mkmyuu opened this issue Dec 7, 2020 · 0 comments

Comments

@mkmyuu
Copy link

mkmyuu commented Dec 7, 2020

I discovered the following issue with CSS calc and white spaces which breaks your styles in some browsers (e.g. Chrome) while others will work fine (e.g. Firefox):
Pure CSS
width: calc(100% / 3 - (3 - 1) * 1em / 3);
will turn into
width: calc(100% / 3 -(3 - 1) * 1em / 3);
when compressed.

Note the missing white space in front of the opening parenthese. I'd appreciate a fix for that :)

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

1 participant