#69309config.compressCss breaks CSS3 calc() value
Description
When enabling config.compressCss, CSS3 calc() definitions may break, because it strips space characters where they are needed to be kept.
Example:
left:calc(1em + 100px);
becomes
left:calc(1em+100px);
which is wrong, as the CSS parser cannot differ between negative values and subtraction any more.
See http://www.w3.org/TR/css3-values/#calc:
> Note that the grammar requires spaces around binary ‘+’ and ‘-’ operators. The ‘*’ and ‘/’ operators do not require spaces.
Stumbled upon it in TYPO3 CMS 6.2.14, but I think it’s going to be a problem with all versions. Checked in Safari 8.0.8 (10600.8.9) and Chrome 44.0.2403.155 (64-bit).
Note:
config.minifyCss doesn’t have the problem.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.