[TYPO3-core] RFC: Bugfix #13252: default CSS only loadable for media screen / changed behaviour in 4.3

Ralf Hettinger ng at ralfhettinger.de
Thu Jan 21 22:10:08 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13252

Branches: 4.3 + trunk

Problem:
There is a major change of behaviour introduced by commit 5903 which
will break a lot of print views (actually anything other than screen
views) relying on CSS after an update to TYPO3 4.3.
Summary of the change of behaviour: Most CSS styles are now by default
only valid for media screen, whereas in TYPO3 4.2 they would've been
implicitly valid for all media.
This affects:
- CSS from TYPO3 Core+extensions if TS config.inlineStyle2TempFile is set
- CSS included by TS page.includeCSS and page.stylesheet

There is currently no possible 'undo' of this change if TS
config.inlineStyle2TempFile is set and wanted.

Solution:
Add the new TS properties as described for page.includeCSS to TS
properties page.stylesheet and config.inlineStyle2TempFile and set the
default to media 'all' for the 3 properties.

Cheers
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0013252_4.4.trunk-rev6808.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100121/2c86eb63/attachment.asc>


More information about the TYPO3-team-core mailing list