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

Bug with css calc() function #957

Closed
Dahamugo opened this issue Jun 16, 2016 · 3 comments
Closed

Bug with css calc() function #957

Dahamugo opened this issue Jun 16, 2016 · 3 comments
Milestone

Comments

@Dahamugo
Copy link

The formatter is removing the whitespace before the + operator inside a calc function. This white space is actually required for the rule to work, so this effectivelly breaks it.

Example:
height: calc(100% + 20px);

Turns into:
height: calc(100%+ 20px);

@vzamanillo
Copy link

Same here, the formater brake the rule.

@raulfunkie
Copy link

Seems to happen with almost every selector.

What I write:
li:hover > ol

When I run Beautify:
li:hover> ol

It doesn't really brake this particular declaration, but it happens with the calc() function too as mentioned above.

@bitwiseman bitwiseman mentioned this issue Aug 8, 2016
@bitwiseman
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants