Skip to content

Commit

Permalink
[cit] (2) DOCTYPE parsing change: '>' can close a DOCTYPE even in the…
Browse files Browse the repository at this point in the history
… quoted parts

git-svn-id: http://svn.whatwg.org/webapps@1225 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 14, 2008
1 parent e607bd9 commit 8347119
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
24 changes: 24 additions & 0 deletions index
Expand Up @@ -39163,6 +39163,12 @@ function receiver(e) {
<dd>Switch to the <a href="#after1">after DOCTYPE public identifier
state</a>.

<dt>U+003E GREATER-THAN SIGN (&gt;)

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
correctness flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch
to the <a href="#data-state">data state</a>.

<dt>EOF

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
Expand All @@ -39188,6 +39194,12 @@ function receiver(e) {
<dd>Switch to the <a href="#after1">after DOCTYPE public identifier
state</a>.

<dt>U+003E GREATER-THAN SIGN (&gt;)

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
correctness flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch
to the <a href="#data-state">data state</a>.

<dt>EOF

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
Expand Down Expand Up @@ -39314,6 +39326,12 @@ function receiver(e) {
<dd>Switch to the <a href="#after2">after DOCTYPE system identifier
state</a>.

<dt>U+003E GREATER-THAN SIGN (&gt;)

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
correctness flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch
to the <a href="#data-state">data state</a>.

<dt>EOF

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
Expand All @@ -39339,6 +39357,12 @@ function receiver(e) {
<dd>Switch to the <a href="#after2">after DOCTYPE system identifier
state</a>.

<dt>U+003E GREATER-THAN SIGN (&gt;)

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
correctness flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch
to the <a href="#data-state">data state</a>.

<dt>EOF

<dd><a href="#parse0">Parse error</a>. Set the DOCTYPE token's
Expand Down
20 changes: 20 additions & 0 deletions source
Expand Up @@ -36566,6 +36566,11 @@ function receiver(e) {
<dt>U+0022 QUOTATION MARK (&quot;)</dt>
<dd>Switch to the <span>after DOCTYPE public identifier state</span>.</dd>

<dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch to the
<span>data state</span>.</dd>

<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Reconsume the
Expand All @@ -36591,6 +36596,11 @@ function receiver(e) {
<dt>U+0027 APOSTROPHE (')</dt>
<dd>Switch to the <span>after DOCTYPE public identifier state</span>.</dd>

<dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch to the
<span>data state</span>.</dd>

<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Reconsume the
Expand Down Expand Up @@ -36703,6 +36713,11 @@ function receiver(e) {
<dt>U+0022 QUOTATION MARK (&quot;)</dt>
<dd>Switch to the <span>after DOCTYPE system identifier state</span>.</dd>

<dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch to the
<span>data state</span>.</dd>

<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Reconsume the
Expand All @@ -36728,6 +36743,11 @@ function receiver(e) {
<dt>U+0027 APOSTROPHE (')</dt>
<dd>Switch to the <span>after DOCTYPE system identifier state</span>.</dd>

<dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Switch to the
<span>data state</span>.</dd>

<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's correctness
flag to <i>incorrect</i>. Emit that DOCTYPE token. Reconsume the
Expand Down

0 comments on commit 8347119

Please sign in to comment.