Skip to content
This repository was archived by the owner on Jul 17, 2022. It is now read-only.
This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Spaces in calc Get Removed #48

Description

@ispecimen-lgiacalone

When there is a CSS property such as calc(10px + 48%), it gets compressed to calc(10px+48%), which doesn't work (calc requires spaces around the operator). Note that this bug only exists with the "+" sign—the "-" sign works fine

  • This issue was solved in newer versions of YUI Compressor, so I believe the solution is to update YUI Compressor.
  • A temporary fix is to change calc(10px + 48%) to calc(10px - -48%)

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