[BUGFIX] CSS3 function calc must retain whitespace 66/35366/3
authorChristian Futterlieb <christian@futterlieb.ch>
Fri, 14 Nov 2014 18:17:10 +0000 (19:17 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 17 Jan 2015 20:31:54 +0000 (21:31 +0100)
commit3e367ca159f85d0d0d4f1dd13a51e2424693cf9c
tree44f9f74e7168be93b8a8943fe945a21b66ecef56
parent469163eba2257580aa0bf36ee16483a5fa418824
[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/35366
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php