Issue Bug Closed

#25060config.debug = 1 triggers Quirks Mode in IE-Browser

Christian Zenker 02/16/11, 16:48 updated 02/16/11, 16:54

Description

Enabling the debugger will put the debugging comment () in front of any other output – even DocType declaration. This way Quirks Mode in Internet Explorer is triggered.

How to reproduce:
- set page.config.debug = 1 on a typical TypoScript setup
- verify that Quirks Mode is active by rendering a box with a width and height of 50px, border of 10px and some background color. You should see, that the colored box (without border) is actually just 30px high and wide. Standard mode would give you a box with the full 50px

Temporary Workaround:
- disable config.debug (at least for IE browsers)

Solution:
- render the debug output after the content as it was in TYPO3 4.4 and below. Patch is appended.

not present in TYPO3 4.4 and below
(issue imported from #M17618)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.