* Requires Node.js 4.0+ to run.
+[3.4.16 / 2016-xx-xx](https://github.com/jakubpawlowicz/clean-css/compare/v3.4.15...3.4)
+==================
+
+* Fixed issue [#781](https://github.com/jakubpawlowicz/clean-css/issues/781) - regression in override compacting.
+
[3.4.15 / 2016-06-01](https://github.com/jakubpawlowicz/clean-css/compare/v3.4.14...v3.4.15)
==================
var MULTIPLEX_SEPARATOR = ',';
function everyCombination(fn, left, right, validator) {
- var samePositon = !left.shorthand && !right.shorthand;
+ var samePositon = !left.shorthand && !right.shorthand && !left.multiplex && !right.multiplex;
var _left = shallowClone(left);
var _right = shallowClone(right);
]);
}
},
+ 'shorthand then multiplex longhand - non mergeable value': {
+ 'topic': 'p{background:#fff;background-image:__ESCAPED_URL_CLEAN_CSS0__,linear-gradient()}',
+ 'into': function (topic) {
+ assert.deepEqual(_optimize(topic), [
+ [['background'], ['#fff']],
+ [['background-image'], ['__ESCAPED_URL_CLEAN_CSS0__'], [','], ['linear-gradient()']]
+ ]);
+ }
+ },
'shorthand then longhand - border with rgba() and color opacity on': {
'topic': 'p{border:solid rgba(0,0,0,0);border-color:transparent}',
'into': function (topic) {