Bug #81400
Updated by Xavier Perseguers about 7 years ago
According to the documentation https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#concatenatecss it is expected that concatenation of CSS happens for all similar media:
h2. How to reproduce
<pre>
page.includeCSS {
file1 = fileadmin/css/file1.css
file2 = fileadmin/css/file2.css
file3 = fileadmin/css/file3.css
file3.media = screen
file4 = fileadmin/css/file4.css
file4.media = screen
file5 = fileadmin/css/file5.css
file5.media = print
file6 = fileadmin/css/file6.css
file6.media = print
}
</pre>
h2. Expected
* file1.css and file2.css are merged together, @media="all"@
* file3.css and file4.css are merged together, @media="screen"@
* file5.css and file6.css are merged together, @media="print"@
h2. Actual
* file1.css and file2.css are merged together, @media="all"@
* All other files are included as-is, without concatenation