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 9287 - DOCTYPE "mostly useless"
Summary: DOCTYPE "mostly useless"
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.w3.org/TR/html5/syntax.htm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 13:50 UTC by T.J. Crowder
Modified: 2010-10-04 14:48 UTC (History)
5 users (show)

See Also:


Attachments

Description T.J. Crowder 2010-03-21 13:50:28 UTC
In Section 8.1.1[1], the current published specification says:

> A DOCTYPE is a mostly useless, but required, header.

It then goes on to say:

> DOCTYPEs are required for legacy reasons. When omitted, browsers tend to use a different rendering mode that is incompatible with some specifications.

So, not useless then, or even mostly useless, as it's required to ensure that the most common UAs in the world (web browsers) behave something close to properly.

Perhaps consider dropping the "mostly useless" comment to avoid encouraging skimmers to drop it. Perhaps "A DOCTYPE is a required header that primarily serves a legacy, but significant, purpose."

(Separately: It's a header? That seems an odd term for it.)

[1] http://www.w3.org/TR/html5/syntax.html#the-doctype
Comment 1 Larry Masinter 2010-03-21 21:59:04 UTC
See ISSUE-4 (http://www.w3.org/html/wg/tracker/issues/4), ACTION-93 

http://www.w3.org/html/wg/tracker/actions/93 and the corresponding Change Proposal http://lists.w3.org/Archives/Public/public-html/2010Jan/0015.html

and point 7 of the rationale thereof.

Comment 2 T.J. Crowder 2010-03-22 09:20:00 UTC
The change Larry Masinter referenced would fix this issue if committed. I'm glad to see that change avoids using "of limited utility" as well, since that has many of the same problems as "mostly useless" (other than the latter's problem of tone).
Comment 3 Ian 'Hixie' Hickson 2010-04-01 23:23:04 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 4 contributor 2010-04-01 23:24:15 UTC
Checked in as WHATWG revision r4940.
Check-in comment: I guess useless is the wrong word, so commenting it out until I work out what the right word is...
http://html5.org/tools/web-apps-tracker?from=4939&to=4940