Skip to content

Minifier breaks CSS Calc Rules #159

Description

@thre3eye

Hi - great program but just debugged a weird issue.

From this:
height: calc(~"100% - (10 * (35px + 6px)) - 10px");
the Minifier produces this:
height:calc(100% -(10 *(35px + 6px)) - 10px)

Please note the removed space between minus sign and opening bracket. Chrome tolerates this, whereas IE does not and errors out. Could you please fix this according to spec (i.e. space required): https://drafts.csswg.org/css-values/#calc-syntax or let me know how to tweak the Minifier?

Thanks!

Edit: I switched to 'Globally Installed Less' and the issue goes away.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions