Open c9s opened 9 years ago
While SASS is interpreing this as it is:
$some: 22; width: calc(100% - 10px + 20px + $some);
We can reduce the expression if they are the same unit to:
width: calc(100% + 10px + 22);
Add FunctionCall.IsLiteral() method to check if we need to present the function call as literal string.
FunctionCall.IsLiteral()
While SASS is interpreing this as it is:
We can reduce the expression if they are the same unit to: