Bug #62463
closedbug in compressing the css-files!?
100%
Description
TYPO3 V6.2 maybe a bug in compressing the css-files!?
e.g.: A css3 parameter like width: calc(100% + 16px); does not appear in the compressed CSS-file when config.compressCss is set to 1!
Setting the parameter to config.compressCss = 0, the "calc"-item will be there!
Updated by Christian Futterlieb about 10 years ago
I experienced similar behaviour with following difference: the compressor removes the whitespaces, which results in an invalid rule:
width: calc(100% + 16px);
becomes:
width: calc(100%+16px);
But "+" and "-" must be wrapped with whitespaces: http://www.w3.org/TR/2006/WD-css3-values-20060919/#calc
I digged around in the compressor and will push a possible solution
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34180
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35366
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35366
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34180
Updated by Christian Futterlieb almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3e367ca159f85d0d0d4f1dd13a51e2424693cf9c.
Updated by Christian Kuhn almost 10 years ago
This patch leads to PHP segfaults on PHP versions with older PCRE versions. It will be reverted in #64950 for 6.2 for now, and master will get a PCRE version check in install tool.
Please see the related issue for more details.
This patch could potentially be fixed again in 6.2 if a regex can be found that does not crash php ...