minify - CSS minificator removes units for zero values (px, ms, em) -
in combres file, use defaultcssminifierref="msajax".
this minifier remove units (px, em, ms) 0 values. 0ms not same 0s. so, should do, if need save units after minification?
the unit identifier can omitted lengths of zero. other units require unit identifier values of zero. lengths include em
, px
, etc. there debate on whether better include or not (see this question , this one). minifier , should remove unit identifier on lengths of zero. see spec here:
for 0 lengths unit identifier optional
non-lengths require unit identifiers, whether 0 or not. if minifier removes unit identifier of non-length, such ms
in time given value of property transition-duration
, bug in minifier.
Comments
Post a Comment