Actions
Bug #93184
closed"includeCSS" with "excludeFromConcatenation" wrongly moved before concatenated file
Start date:
2020-12-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem
When a CSS-file is excluded from concatenation by the inlineCSS disableCompression
-parameter it is positioned before the concatenated CSS-files. This destroys the intended effect of overwriting styles, and makes the file useless.
Details
With
config { minifyJS = 0 minifyCSS = 0 compressJs = 0 compressCss = 0 concatenateJs = 0 concatenateCss = 0 }
and
page.includeCSS { file1 = fileadmin/templates/assets/css/mybootstrap.css file1.disableCompression = 1 file1.excludeFromConcatenation = 1 }
the resulting output is
While with
config { minifyJS = 1 minifyCSS = 1 compressJs = 1 compressCss = 1 concatenateJs = 1 concatenateCss = 1 }
and
page.includeCSS { file1 = fileadmin/templates/assets/css/mybootstrap.css file1.disableCompression = 1 file1.excludeFromConcatenation = 1 }
the noncompressed file is put at first
This is - as I assume - against the intention as those exclusions are basically used for testing and modification of before defined styles.
Files
Updated by Riccardo De Contardi 4 months ago
This still happens on 13.3.0-dev (latest main)
Updated by Garvin Hicking 4 months ago
- Status changed from New to Closed
Closing indeed as a duplicate of #82636, I agree
Updated by Garvin Hicking 4 months ago
- Has duplicate Bug #91263: disableCompression is not respected when CSS are concatenated added
Actions