Skip to content

should not remove spaces in calc() function #86

@jonkemp

Description

@jonkemp

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%);

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