Skip to content

wrong output with calc() #742

@liuwf2012

Description

@liuwf2012

image

initial state

.class {
  width: calc(-25rem - (1280px - 100vw) * 0.5);
}

correct minimization

.class{
  width: calc(-25rem - 640px + 50vw);
}

actual minimization

.class{
  width: calc(-25rem - 640px - 50vw);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions