* Fixed issue [#644](https://github.com/jakubpawlowicz/clean-css/issues/644) - adds time unit optimizations.
* Fixed issue [#645](https://github.com/jakubpawlowicz/clean-css/issues/645) - adds bottom to top `media` merging.
* Fixed issue [#648](https://github.com/jakubpawlowicz/clean-css/issues/648) - adds property level at-rule support.
+* Refixed issue [#629](https://github.com/jakubpawlowicz/clean-css/issues/629) - source maps & background shorthands.
[3.3.9 / 2015-08-09](https://github.com/jakubpawlowicz/clean-css/compare/v3.3.8...v3.3.9)
==================
} else if (i > 1 && values[i - 2] == '/') {
size.value = [previousValue, value];
i -= 2;
- } else if (values[i - 1] == '/') {
+ } else if (previousValue[0] == '/') {
size.value = [value];
} else {
if (!positionSet)
assert.equal(minified.styles, 'a{background:#fff}');
}
},
+ 'background position and size': {
+ 'topic': function () {
+ return new CleanCSS({ sourceMap: true }).minify('a{background:url(image.png) 0 0 / 100% no-repeat}');
+ },
+ 'gets right output': function (minified) {
+ assert.equal(minified.styles, 'a{background:url(image.png) 0 0/100% no-repeat}');
+ }
+ },
'important': {
'topic': function () {
return new CleanCSS({ sourceMap: true }).minify('@font-face{font-family:si}a{font-family:si!important}');