[Bug 12648] New: Use of comments and space characters before DOCTYPE throws many versions of IE to Quirks Mode, so either they should be disallowed, or the note at the start of 11.1.1 should be modified. The note now claims that the inclusion of DOCTYPE "ensures that the

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

           Summary: Use of comments and space characters before DOCTYPE
                    throws many versions of IE to Quirks Mode, so either
                    they should be disallowed, or the note at the start of
                    11.1.1 should be modified. The note now claims that
                    the inclusion of DOCTYPE "ensures that the
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#wri
                    ting
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#writing

Comment:
Use of comments and space characters before DOCTYPE throws many versions of IE
to Quirks Mode, so either they should be disallowed, or the note at the start
of 11.1.1 should be modified. The note now claims that the inclusion of
DOCTYPE "ensures that the browser makes a best-effort attempt at following the
relevant specifications". The DOCTYPE does not do that, if it is preceded by
comments or space characters.

Posted from: 88.114.29.18
User agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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

Received on Thursday, 12 May 2011 04:42:33 UTC