[TYPO3-dev] Bug or missing feature TYPO3 4.3 includeCSS media

Peter Russ peter.russ at 4many.net
Thu Dec 17 10:48:28 CET 2009


--- Original Nachricht ---
Absender:   Peter Russ
Datum:       17.12.2009 10:35:
> As TSref read the media at includeCSS is optional.
> But TSpagegen, line 548 force media to be set otherwise it would be 
> rendered to 'screen':
>                                 
> $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['media'] ? 
> $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['media'] : 'screen',
> 
> As this is new I would expect to be set to 'all' as default and not 
> dedicated to screen.
> 
> 
> 

t3lib_PageRenderer::addCssFile set this also to 'screen' by default :-(

This will cause troubles upgradeing sides providing dedicated stylesheet 
for print IF default stylesheet should further be used
as
<link media='screen'...
<link media='print'...

is different to
<link ...
<link media='print'...

Peter.

-- 
loans that change lives http://www.kiva.org

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ




More information about the TYPO3-dev mailing list