[TASK] Update CSS compressor 65/35565/17
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 18 Dec 2014 16:49:38 +0000 (17:49 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 17 Jul 2015 12:13:41 +0000 (14:13 +0200)
commitb47d65e994c3b93b7cfba22c33c1426b2b825f34
tree032420fed7a2834d78091ae33215a7e6b0a6f8ec
parent5a4a53e5ce16b13e4b631eec17f7f4613ffb74d1
[TASK] Update CSS compressor

The old CSS compressor had some issues with certain CSS definitions.
Update the optimizer from upstream and deprecate the
compressCssPregCallback method.

Resolves: #63974
Related: #62463, #60675
Releases: master
Change-Id: Ibe37b902aafd41685042e37485623531e3e8e46c
Reviewed-on: http://review.typo3.org/35565
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
18 files changed:
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-63974-CssCompressorCallbackAndCompressCssString.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/charset.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/charset.css.optimized.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/charset_newline.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/charset_sameline.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/charset_sameline.css.optimized.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/comment_hacks.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/comment_hacks.css.optimized.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/css_input_with_import.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/css_input_with_import.css.optimized.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/css_input_without_import.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/css_input_without_import.css.optimized.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/css_subfolder/css_input_with_import.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/css_subfolder/css_input_with_import.css.optimized.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/import1.css [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest/Fixtures/import2.css [new file with mode: 0644]