#81400ConcatenateCSS does not work if media is different from "all"
Description
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:
How to reproduce
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
}
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"
Actual
- file1.css and file2.css are merged together,
media="all" - All other files are included as-is, without concatenation
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.