Project

General

Profile

Actions

Bug #20763

closed

$GLOBALS['TSFE']->additionalCSS produce invalid CSS

Added by erik dahlin almost 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The function $GLOBALS['TSFE']->additionalCSS produces CSS that doesn't validate.

Php code:
$GLOBALS['TSFE']->additionalCSS['test'] .= '.test {height: 100px;}';

FE display:
<style type="text/css">
/*<![CDATA[*/

/*]]>*/
&lt;/style&gt;

W3C Validator:
Parsingerror // --> /*]]>*/

(issue imported from #M11545)

Actions #1

Updated by Steffen Kamper almost 15 years ago

i don't see this, it validates with 0 errors and 0 warnings

Actions #2

Updated by erik dahlin almost 15 years ago

Forgot to write that its only the css validator that produces an error, not the html one.

http://jigsaw.w3.org/css-validator/

I guess it's the two slashes that wont go through, try writing // in the css validator and the error occurs.

The html comment: and the css comment /* */ both validate fine.

Actions #3

Updated by Alexander Opitz almost 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #4

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF