config.debug = 1 triggers Quirks Mode in IE-Browser
Enabling the debugger will put the debugging comment (<!-- Parsetime: ... -->) 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
- disable config.debug (at least for IE browsers)
- 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)