fmarcia / uglifycss

Port of YUI CSS Compressor from Java to NodeJS
MIT License
284 stars 37 forks source link

Milliseconds converted incorrectly to seconds #31

Closed Elijen closed 9 years ago

Elijen commented 9 years ago

Units in ms are incorrectly converted to seconds:

/* test.css */
.animated {
  animation-duration: 600ms;
}
/* result of `uglifycss test.css` */
.animated{animation-duration:60s}

Expected output:

.animated{animation-duration:600ms}
Elijen commented 9 years ago

Seems this has already been fixed by 453ec83a0ccc0199d0f057b8ec065da9a656b3ec but not published to NPM yet.

fmarcia commented 9 years ago

... as you said ;-)