Bug #36136

Comment before doctype makes IE fall into Quirks mode

Added by Adrian Föder over 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-04-16
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-

Description

at the current state, the source code reads

1
2<!-- Beginning to render TS path "page" (Context: Node /sites/flow3org/home[TYPO3.TYPO3:Page]) -->
3
4<!DOCTYPE html>
5<html version="HTML+RDFa 1.1" xmlns:typo3="http://www.typo3.org/ns/2011/FLOW3/Packages/TYPO3/Content/" class="page-home">
6

Due to that very first comment, that is before the doctype declaration, IE9 falls into quirks mode and the page is rendered very wrong.

Fix: Remove that comment somehow.

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Project changed from flow3.typo3.org to TYPO3.TypoScript

#2 Updated by Sebastian Kurfuerst about 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF