Project

General

Profile

Actions

Bug #81400

closed

ConcatenateCSS does not work if media is different from "all"

Added by Xavier Perseguers almost 7 years ago. Updated almost 7 years ago.

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

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #64009: Allow CSS-/JS-concatenation to work on groups of files not just all files as oneNew2014-12-20

Actions
Actions #1

Updated by Xavier Perseguers almost 7 years ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi almost 7 years ago

  • Related to Feature #64009: Allow CSS-/JS-concatenation to work on groups of files not just all files as one added
Actions #3

Updated by Xavier Perseguers almost 7 years ago

  • Status changed from New to Rejected

This only happens in TYPO3 6.2 and has been corrected since TYPO3 7.6.

No more changes may target TYPO3 6.2, as such this ticket is rejected.

Actions

Also available in: Atom PDF