This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12648 - 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
Summary: Use of comments and space characters before DOCTYPE throws many versions of I...
Status: RESOLVED DUPLICATE of bug 12072
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 04:40 UTC by contributor
Modified: 2011-08-04 05:15 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-05-12 04:40:30 UTC
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
Comment 1 Leif Halvard Silli 2011-05-12 16:56:43 UTC

*** This bug has been marked as a duplicate of bug 12072 ***
Comment 2 Michael[tm] Smith 2011-08-04 05:15:36 UTC
mass-move component to LC1