minify
minify copied to clipboard
Issues with referring to size in PX
When handling a calc() function in CSS, Minify appears to be stripping the unit of measurement.
This means that:
h1 { font-size: calc(0px / 2); }
is becoming:
h1{font-size:calc(0/2)}
Which generates a division by zero error, because it's looking at it as a number and not a measurement.
0/2
is division of zero, not division by zero :)