[Bug 12072] Comments before <!DOCTYPE html> should be forbidden

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12072

--- Comment #9 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-02-16 17:42:39 UTC ---
(In reply to comment #8)
> (In reply to comment #1)
> > An advantage which a forbidding of comments before the DOCTYPE provides, is
> > that it would largely kill off X-UA-COMPATIBLE meta elements from  having any
> > effect in legal HTML5 syntax.
> 
> I think you've got a misconception. The meta switch in IE does not need any
> Conditional Comments.

I said spoke about "legal HTML5 syntax".  The meta X-UA-COMPATIBLE element is
makes your document non-conforming to HTML5.

Thus, in order to be conforming to the HTML5 syntax rules, it is necessary to
wrap the X-UA-Compatible META element inside a conditional comment  which you
place before the DOCTYPE.  

To wrap the X-UA-COMPATIBLE inside a conditional comment inside <head>  makes
no sense: it doesn't work.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 16 February 2011 17:42:41 UTC