Actions
Bug #81400
closedConcatenateCSS does not work if media is different from "all"
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-06-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions