Skip to content

Value is not calculated for css --variables #3800

@Dagur

Description

@Dagur

To reproduce:

.test {
  width: 20px + 40px;  
  --width: 20px + 40px;  
}

Current behavior:

output is

.test {
  width: 60px;
  --width: 20px + 40px;
}

Expected behavior:

I expected

.test {
  width: 60px;
  --width: 60px;
}

Environment information:

This can cause unexpected problems when combined with less @variables.

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