Skip to content

Commit

Permalink
[t] (0) Handle <!DOCTYPE> in parser.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2700 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 24, 2009
1 parent bf22da6 commit 7838b4d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
22 changes: 12 additions & 10 deletions index
Expand Up @@ -49699,16 +49699,18 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {

<p>Append a <code>DocumentType</code> node to the
<code>Document</code> node, with the <code title="">name</code>
attribute set to the name given in the DOCTYPE token; the <code title="">publicId</code> attribute set to the public identifier
given in the DOCTYPE token, or the empty string if the public
identifier was missing; the <code title="">systemId</code>
attribute set to the system identifier given in the DOCTYPE token,
or the empty string if the system identifier was missing; and the
other attributes specific to <code>DocumentType</code> objects set
to null and empty lists as appropriate. Associate the
<code>DocumentType</code> node with the <code>Document</code>
object so that it is returned as the value of the <code title="">doctype</code> attribute of the <code>Document</code>
object.</p>
attribute set to the name given in the DOCTYPE token, or the empty
string if the name was missing; the <code title="">publicId</code>
attribute set to the public identifier given in the DOCTYPE token,
or the empty string if the public identifier was missing; the
<code title="">systemId</code> attribute set to the system
identifier given in the DOCTYPE token, or the empty string if the
system identifier was missing; and the other attributes specific
to <code>DocumentType</code> objects set to null and empty lists
as appropriate. Associate the <code>DocumentType</code> node with
the <code>Document</code> object so that it is returned as the
value of the <code title="">doctype</code> attribute of the
<code>Document</code> object.</p>

<p id=quirks-mode-doctypes>Then, if the DOCTYPE
token matches one of the conditions in the following list, then
Expand Down
24 changes: 12 additions & 12 deletions source
Expand Up @@ -56763,18 +56763,18 @@ interface <dfn>MessageChannel</dfn> {

<p>Append a <code>DocumentType</code> node to the
<code>Document</code> node, with the <code title="">name</code>
attribute set to the name given in the DOCTYPE token; the <code
title="">publicId</code> attribute set to the public identifier
given in the DOCTYPE token, or the empty string if the public
identifier was missing; the <code title="">systemId</code>
attribute set to the system identifier given in the DOCTYPE token,
or the empty string if the system identifier was missing; and the
other attributes specific to <code>DocumentType</code> objects set
to null and empty lists as appropriate. Associate the
<code>DocumentType</code> node with the <code>Document</code>
object so that it is returned as the value of the <code
title="">doctype</code> attribute of the <code>Document</code>
object.</p>
attribute set to the name given in the DOCTYPE token, or the empty
string if the name was missing; the <code title="">publicId</code>
attribute set to the public identifier given in the DOCTYPE token,
or the empty string if the public identifier was missing; the
<code title="">systemId</code> attribute set to the system
identifier given in the DOCTYPE token, or the empty string if the
system identifier was missing; and the other attributes specific
to <code>DocumentType</code> objects set to null and empty lists
as appropriate. Associate the <code>DocumentType</code> node with
the <code>Document</code> object so that it is returned as the
value of the <code title="">doctype</code> attribute of the
<code>Document</code> object.</p>

<p id="quirks-mode-doctypes">Then, if the DOCTYPE
token matches one of the conditions in the following list, then
Expand Down

0 comments on commit 7838b4d

Please sign in to comment.