Closed
Description
- Operating System (or Browser): Ubuntu
- Node Version: 14.17.6
- postcss-values-parser Version: 2.0.1
How Do We Reproduce?
Parse the value calc(var(--bs-gutter-y)*-1)
Expected Behavior
Parsing is successful
Actual Behavior
A ParserError is reported.
Note that this comes from the issue reported at sass/dart-sass#1496. Newer versions of sass produce this value in compressed mode when compiling the sass code of Bootstrap 5. Older versions were putting spaces around the *
operator, but they are optional in CSS for the *
and /
operators.