`( (` was handled incorrectly as the first brace got removed.
==================
* Fixed issue [#453](https://github.com/jakubpawlowicz/clean-css/issues/453) - double `background-repeat`.
+* Fixed issue [#455](https://github.com/jakubpawlowicz/clean-css/issues/455) - property extracting regression.
[3.0.9 / 2015-02-04](https://github.com/jakubpawlowicz/clean-css/compare/v3.0.8...v3.0.9)
==================
var isSpecial;
var wasSpecial;
var current;
+ var last;
var secondToLast;
var wasCloseParenthesis;
var isEscape;
isSpecial = current === ':' || current === '[' || current === ']' || current === ',' || current === '(' || current === ')';
if (wasWhitespace && isSpecial) {
+ last = buffer[buffer.length - 1];
secondToLast = buffer[buffer.length - 2];
- if (secondToLast != '+' && secondToLast != '-' && secondToLast != '/' && secondToLast != '*')
+ if (secondToLast != '+' && secondToLast != '-' && secondToLast != '/' && secondToLast != '*' && last != '(')
buffer.pop();
buffer.push(current);
} else if (isWhitespace && wasSpecial && !wasCloseParenthesis) {
'body{margin-left:calc(50vw + (1024px/2))}',
'body{margin-left:calc(50vw + (1024px/2))}'
],
+ 'with space between braces': [
+ 'body{width:calc( ( 100% - 12px) / 3 )}',
+ 'body{width:calc((100% - 12px)/ 3)}'
+ ],
'before colon': [
'#test{padding-left :0}',
'#test{padding-left:0}'