Bug #62463
closed
bug in compressing the css-files!?
Added by Kurt Kunig about 10 years ago.
Updated about 6 years ago.
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!
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
- 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
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
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 ...
- Status changed from Resolved to Closed
Also available in: Atom
PDF