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 10040 - Doctype discussion could be made more clear
Summary: Doctype discussion could be made more clear
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 differences from HTML4 (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 09:27 UTC by Marcos Caceres
Modified: 2011-04-14 15:04 UTC (History)
3 users (show)

See Also:


Attachments

Description Marcos Caceres 2010-06-29 09:27:21 UTC
>>>>> 2.2. The DOCTYPE
>>>>>
>>>>> The HTML syntax of HTML5 requires a DOCTYPE to be specified to ensure
>>>>> that the browser renders the page in standards mode.
>>>>
>>>> What is this "standards mode"?
>>>
>>> Most authors reading this document will already be familiar with the
>>> term.
>>
>> Half the time you seem to assume authors knows little, then the other
>> time you assume they know a lot.
>
> Maybe, or maybe you have a knowledge gap somewhere. Hard to tell. This
> is the first time someone told me this though.

If there is a link to something that describes it, then that would 
resolve this. All those modes are very complicated.... the "almost 
standards", etc.

>> I recommend you print out a picture of me, and put it next to you when
>> writing. Then you can ask, "would Marcos know this?... probably
>> not"... or "Will Marcos ask me stupid questions about this?... probably."
>
> The typical author that works with HTML on a day-to-day basis is the
> more interesting case I think. You might be glad to know your picture is
> on my dartboard, though, albeit somewhat punctured ;-P
>
>
>>>> What did this longer DOCTYPE look like, so we can see the differences
>>>> from HTML4?
>>>
>>> It is assumed you already know HTML4.
>>
>> That is a fair assumption to make. It's nice to show it because it
>> drives the point home: As in, "OMG! look how complex and stupid that
>> thing that did nothing was!".
>
> I'll leave that to advocacy :-)

If you want something done right, you gotta do it yourself... :)

>>>>> With HTML5 this is no longer the case and the see
>>>>> DOCTYPE is only needed to enable standards mode for documents written
>>>>> using the HTML syntax. Browsers already do this for <!DOCTYPE html>.
>>>>
>>>> So, basically, it's required to identify a document as HTML5? This is
>>>> unclear because the whole standards mode thing is undefined. You need
>>>> to expand this section to show how it actually works and explain that
>>>> an old doc type will still trigger HTML5 features if available
>>>> (presumably).
>>>
>>> Since that is non-conforming I don't think it's relevant for authors.
>>
>> Well, for authors who have had years of indoctrination about
>> <!DOCTYPE> it is. Bottom line is, that the doctype doesn't enable
>> features.
>
> Yes it does.

I honestly did not know that. Please explain in the doc what new 
features are enabled. This I'm actually looking forward to reading.

>> And, not even case matters when it comes to the doctype. It is
>> important to make it clear that <!DocType> is <!DOCtype> is <!docTYPE>
>> and people need to stop being religious about it (which is what HTML5
>> finally codifies).
>
> This is a completely different point from your first. Authors will just
> copy a DOCTYPE and be happy. No need to confuse anyone with
> case-insensitivity.

You seem to assume a lot of things about authors (which includes you and 
I), which are a little condescending. The doctype is no longer complex, 
so it's not likely people will copy paste it anymore.
Comment 1 Simon Pieters 2011-04-14 15:04:36 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: Rejected
Change Description: no spec change
Rationale: Agreed with reporter in private email to close this bug.