[2.2.5 / 2014-xx-xx](https://github.com/GoalSmashers/clean-css/compare/v2.2.4...v2.2.5)
==================
+* Adds removing extra spaces around / in border-radius.
* Fixed issue [#305](https://github.com/GoalSmashers/clean-css/issues/305) - allows width keywords in border-width.
[2.2.4 / 2014-06-27](https://github.com/GoalSmashers/clean-css/compare/v2.2.3...v2.2.4)
});
}
+ // replace ' / ' in border-*-radius with '/'
+ replace(/(border-\w+-\w+-radius:\S+)\s+\/\s+/g, '$1/');
+
replace(function restoreUrls() {
data = urlsProcessor.restore(data);
});
var result = putTogether.takeCareOfInherit(putTogether.fourUnits)(prop, tokens, isImportant);
if (verticalTokens.length > 0) {
var verticalResult = putTogether.takeCareOfInherit(putTogether.fourUnits)(prop, verticalTokens, isImportant);
- result.value += ' / ' + verticalResult.value;
+ result.value += '/' + verticalResult.value;
}
return result;
'a{outline:5px auto -webkit-focus-ring-color}',
'a{outline:-webkit-focus-ring-color auto 5px}'
],
- 'border radius side H+V': 'a{border-top-left-radius:1em / 1em}',
+ 'border radius side H+V': [
+ 'a{border-top-left-radius:1em / 1em}',
+ 'a{border-top-left-radius:1em/1em}'
+ ],
'border radius expanded H+V': [
'a{border-radius:1em 1em 1em 1em / 2em 2em 2em 2em}',
- 'a{border-radius:1em / 2em}'
+ 'a{border-radius:1em/2em}'
],
'border radius expanded H+V with mixed values #1': [
'a{border-radius:1em 2em 1em 2em / 1em 2em 3em 2em}',
- 'a{border-radius:1em 2em / 1em 2em 3em}'
+ 'a{border-radius:1em 2em/1em 2em 3em}'
],
- 'border radius expanded H+V with mixed values #2': 'a{border-radius:1em / 1em 1em 1em 2em}',
- 'border radius H+V': 'a{border-radius:50% / 100%}'
+ 'border radius expanded H+V with mixed values #2': 'a{border-radius:1em/1em 1em 1em 2em}',
+ 'border radius H+V': 'a{border-radius:50%/100%}'
}),
'viewport units': cssContext({
'shorthand margin with viewport width not changed': 'div{margin:5vw}'