[BUGFIX] CSS3 function calc must retain whitespace 80/34180/3
authorChristian Futterlieb <christian@futterlieb.ch>
Fri, 14 Nov 2014 18:17:10 +0000 (19:17 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sun, 18 Jan 2015 13:27:05 +0000 (14:27 +0100)
commit5cfb009da9b36fc022aec19a57dc6965ff80a9ff
tree204dd0731a7a45828532ac65103f957b70feeaaf
parent573cb0295fe093bf52c93692bd8257c517690333
[BUGFIX] CSS3 function calc must retain whitespace

Whitespaces within CSS3 function 'calc' must not be stripped
because otherwise browsers won't recognize it anymore.

Although the CSS3 specification requires the whitespaces around
the additive expressions (+/-) only, it might be better to not
remove any whitespace within a calc function in terms of
simplicity.. the minifying is complex enough as it already is.

Resolves: #62463
Releases: master, 6.2
Change-Id: Ied0c02e132aafa97ce9fb6b0e9930898cb17efc1
Reviewed-on: http://review.typo3.org/34180
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php