html5/spec Overview.html,1.1310,1.1311

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv32744

Modified Files:
	Overview.html 
Log Message:
Rearchitect how RCDATA/CDATA blocks work so that they don't involve invoking the tokeniser in a weird way. (credit: w) (whatwg r2139)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1310
retrieving revision 1.1311
diff -u -d -r1.1310 -r1.1311
--- Overview.html	2 Sep 2008 07:24:37 -0000	1.1310
+++ Overview.html	2 Sep 2008 09:42:39 -0000	1.1311
@@ -2079,48 +2079,51 @@
          <li><a href="#parsing-main-inbody"><span class=secno>8.2.5.10.
           </span>The "in body" insertion mode</a>
 
-         <li><a href="#parsing-main-intable"><span class=secno>8.2.5.11.
+         <li><a href="#parsing-main-incdata"><span class=secno>8.2.5.11.
+          </span>The "in CDATA/RCDATA" insertion mode</a>
+
+         <li><a href="#parsing-main-intable"><span class=secno>8.2.5.12.
           </span>The "in table" insertion mode</a>
 
-         <li><a href="#parsing-main-incaption"><span class=secno>8.2.5.12.
+         <li><a href="#parsing-main-incaption"><span class=secno>8.2.5.13.
           </span>The "in caption" insertion mode</a>
 
-         <li><a href="#parsing-main-incolgroup"><span class=secno>8.2.5.13.
+         <li><a href="#parsing-main-incolgroup"><span class=secno>8.2.5.14.
           </span>The "in column group" insertion mode</a>
 
-         <li><a href="#parsing-main-intbody"><span class=secno>8.2.5.14.
+         <li><a href="#parsing-main-intbody"><span class=secno>8.2.5.15.
           </span>The "in table body" insertion mode</a>
 
-         <li><a href="#parsing-main-intr"><span class=secno>8.2.5.15.
+         <li><a href="#parsing-main-intr"><span class=secno>8.2.5.16.
           </span>The "in row" insertion mode</a>
 
-         <li><a href="#parsing-main-intd"><span class=secno>8.2.5.16.
+         <li><a href="#parsing-main-intd"><span class=secno>8.2.5.17.
           </span>The "in cell" insertion mode</a>
 
-         <li><a href="#parsing-main-inselect"><span class=secno>8.2.5.17.
+         <li><a href="#parsing-main-inselect"><span class=secno>8.2.5.18.
           </span>The "in select" insertion mode</a>
 
          <li><a href="#parsing-main-inselectintable"><span
-          class=secno>8.2.5.18. </span>The "in select in table" insertion
+          class=secno>8.2.5.19. </span>The "in select in table" insertion
           mode</a>
 
-         <li><a href="#parsing-main-inforeign"><span class=secno>8.2.5.19.
+         <li><a href="#parsing-main-inforeign"><span class=secno>8.2.5.20.
           </span>The "in foreign content" insertion mode</a>
 
-         <li><a href="#parsing-main-afterbody"><span class=secno>8.2.5.20.
+         <li><a href="#parsing-main-afterbody"><span class=secno>8.2.5.21.
           </span>The "after body" insertion mode</a>
 
-         <li><a href="#parsing-main-inframeset"><span class=secno>8.2.5.21.
+         <li><a href="#parsing-main-inframeset"><span class=secno>8.2.5.22.
           </span>The "in frameset" insertion mode</a>
 
          <li><a href="#parsing-main-afterframeset"><span
-          class=secno>8.2.5.22. </span>The "after frameset" insertion
+          class=secno>8.2.5.23. </span>The "after frameset" insertion
           mode</a>
 
-         <li><a href="#the-after0"><span class=secno>8.2.5.23. </span>The
+         <li><a href="#the-after0"><span class=secno>8.2.5.24. </span>The
           "after after body" insertion mode</a>
 
-         <li><a href="#the-after1"><span class=secno>8.2.5.24. </span>The
+         <li><a href="#the-after1"><span class=secno>8.2.5.25. </span>The
           "after after frameset" insertion mode</a>
         </ul>
 
@@ -26754,9 +26757,25 @@
    encoding</var></dfn>. They are determined when the script is run, based on
    the attributes on the element at that time.
 
+  <p>When an <span>XML parser</span> creates a <code><a
+   href="#script1">script</a></code> element, it must be marked as being <a
+   href="#parser-inserted">"parser-inserted"</a>. When the element's end tag
+   is parsed, the user agent must <a href="#running" title="running a
+   script">run</a> the <code><a href="#script1">script</a></code> element.
+
+  <p class=note>Equivalent requirements exist for the <a href="#html-0">HTML
+   parser</a>, but they are detailed in that section instead.
+
+  <p>When a <code><a href="#script1">script</a></code> element that is marked
+   as neither having <a href="#already">"already executed"</a> nor being <a
+   href="#parser-inserted">"parser-inserted"</a> is <span>inserted into a
+   document</span><!-- XXX xref -->, the user agent must <a href="#running"
+   title="running a script">run</a> the <code><a
+   href="#script1">script</a></code> element.
+
   <p><dfn id=running title="running a script">Running a script</dfn>: When a
-   script block is <span>inserted into a document</span>, the user agent must
-   act as follows:
+   <code><a href="#script1">script</a></code> element is to be run, the user
+   agent must act as follows:
 
   <ol>
    <li>
@@ -26823,10 +26842,8 @@
      or if the user agent does not <a href="#support">support the scripting
      language</a> given by <var><a href="#the-scripts">the script's
      type</a></var> for this <code><a href="#script1">script</a></code>
-     element, or if the <code><a href="#script1">script</a></code> element
-     has its <a href="#already">"already executed"</a> flag set, then the
-     user agent must abort these steps at this point. The script is not
-     executed.</p>
+     element, then the user agent must abort these steps at this point. The
+     script is not executed.</p>
 
    <li>
     <p>The user agent must set the element's <a href="#already">"already
@@ -46929,42 +46946,51 @@
    href="#in-head0" title="insertion mode: in head noscript">in head
    noscript</a>", "<a href="#after9" title="insertion mode: after head">after
    head</a>", "<a href="#in-body" title="insertion mode: in body">in
-   body</a>", "<a href="#in-table" title="insertion mode: in table">in
-   table</a>", "<a href="#in-caption" title="insertion mode: in caption">in
-   caption</a>", "<a href="#in-column" title="insertion mode: in column
-   group">in column group</a>", "<a href="#in-table0" title="insertion mode:
-   in table body">in table body</a>", "<a href="#in-row" title="insertion
-   mode: in row">in row</a>", "<a href="#in-cell" title="insertion mode: in
-   cell">in cell</a>", "<a href="#in-select" title="insertion mode: in
-   select">in select</a>", "<a href="#in-select0" title="insertion mode: in
-   select in table">in select in table</a>", "<a href="#in-foreign"
-   title="insertion mode: in foreign content">in foreign content</a>", "<a
-   href="#after10" title="insertion mode: after body">after body</a>", "<a
-   href="#in-frameset" title="insertion mode: in frameset">in frameset</a>",
-   "<a href="#after11" title="insertion mode: after frameset">after
-   frameset</a>", "<a href="#after12" title="insertion mode: after after
-   body">after after body</a>", and "<a href="#after13" title="insertion
-   mode: after after frameset">after after frameset</a>" during the course of
-   the parsing, as described in the <a href="#tree-construction0">tree
-   construction</a> stage. The insertion mode affects how tokens are
-   processed and whether CDATA sections are supported.
+   body</a>", "<a href="#in-cdatarcdata" title="insertion mode: in
+   CDATA/RCDATA">in CDATA/RCDATA</a>", "<a href="#in-table" title="insertion
+   mode: in table">in table</a>", "<a href="#in-caption" title="insertion
+   mode: in caption">in caption</a>", "<a href="#in-column" title="insertion
+   mode: in column group">in column group</a>", "<a href="#in-table0"
+   title="insertion mode: in table body">in table body</a>", "<a
+   href="#in-row" title="insertion mode: in row">in row</a>", "<a
+   href="#in-cell" title="insertion mode: in cell">in cell</a>", "<a
+   href="#in-select" title="insertion mode: in select">in select</a>", "<a
+   href="#in-select0" title="insertion mode: in select in table">in select in
+   table</a>", "<a href="#in-foreign" title="insertion mode: in foreign
+   content">in foreign content</a>", "<a href="#after10" title="insertion
+   mode: after body">after body</a>", "<a href="#in-frameset"
+   title="insertion mode: in frameset">in frameset</a>", "<a href="#after11"
+   title="insertion mode: after frameset">after frameset</a>", "<a
+   href="#after12" title="insertion mode: after after body">after after
+   body</a>", and "<a href="#after13" title="insertion mode: after after
+   frameset">after after frameset</a>" during the course of the parsing, as
+   described in the <a href="#tree-construction0">tree construction</a>
+   stage. The insertion mode affects how tokens are processed and whether
+   CDATA sections are supported.
 
   <p>Seven of these modes, namely "<a href="#in-head" title="insertion mode:
    in head">in head</a>", "<a href="#in-body" title="insertion mode: in
-   body">in body</a>", "<a href="#in-table" title="insertion mode: in
-   table">in table</a>", "<a href="#in-table0" title="insertion mode: in
-   table body">in table body</a>", "<a href="#in-row" title="insertion mode:
-   in row">in row</a>", "<a href="#in-cell" title="insertion mode: in
-   cell">in cell</a>", and "<a href="#in-select" title="insertion mode: in
-   select">in select</a>", are special, in that the other modes defer to them
-   at various times. When the algorithm below says that the user agent is to
-   do something "<dfn id=using10>using the rules for</dfn> the <var
-   title="">m</var> insertion mode", where <var title="">m</var> is one of
-   these modes, the user agent must use the rules described under the <var
-   title="">m</var> <span>insertion mode</span>'s section, but must leave the
-   <span>insertion mode</span> unchanged unless the rules in <var
-   title="">m</var> themselves switch the <span>insertion mode</span> to a
-   new value.
+   body">in body</a>", "<a href="#in-cdatarcdata" title="insertion mode: in
+   CDATA/RCDATA">in CDATA/RCDATA</a>", "<a href="#in-table" title="insertion
+   mode: in table">in table</a>", "<a href="#in-table0" title="insertion
+   mode: in table body">in table body</a>", "<a href="#in-row"
+   title="insertion mode: in row">in row</a>", "<a href="#in-cell"
+   title="insertion mode: in cell">in cell</a>", and "<a href="#in-select"
+   title="insertion mode: in select">in select</a>", are special, in that the
+   other modes defer to them at various times. When the algorithm below says
+   that the user agent is to do something "<dfn id=using10>using the rules
+   for</dfn> the <var title="">m</var> insertion mode", where <var
+   title="">m</var> is one of these modes, the user agent must use the rules
+   described under the <var title="">m</var> <span>insertion mode</span>'s
+   section, but must leave the <span>insertion mode</span> unchanged unless
+   the rules in <var title="">m</var> themselves switch the <span>insertion
+   mode</span> to a new value.
+
+  <p>When the insertion mode is switched to "<a href="#in-cdatarcdata"
+   title="insertion mode: in CDATA/RCDATA">in CDATA/RCDATA</a>", the <dfn
+   id=original>original insertion mode</dfn> is also set. This is the
+   insertion mode to which the tree construction stage will return when the
+   corresponding end tag is parsed.
 
   <p>When the insertion mode is switched to "<a href="#in-foreign"
    title="insertion mode: in foreign content">in foreign content</a>", the
@@ -46973,6 +46999,8 @@
    title="insertion mode: in foreign content">in foreign content</a>" mode to
    handle HTML (i.e. not foreign) content.
 
+  <hr>
+
   <p>When the steps below require the UA to <dfn id=reset>reset the insertion
    mode appropriately</dfn>, it means the UA must follow these steps:
 
@@ -49518,11 +49546,7 @@
 
   <ol>
    <li>
-    <p><a href="#create0">Create an element for the token</a> in the <a
-     href="#html-namespace0">HTML namespace</a>.
-
-   <li>
-    <p>Append the new element to the <a href="#current5">current node</a>.
+    <p><a href="#insert0">Insert an HTML element</a> for the token.
 
    <li>
     <p>If the algorithm that was invoked is the <a href="#generic">generic
@@ -49533,23 +49557,13 @@
      href="#content4">content model flag</a> to the RCDATA state.
 
    <li>
-    <p>Then, collect all the character tokens that the tokeniser returns
-     until it returns a token that is not a character token, or until it
-     stops tokenizing.
-
-   <li>
-    <p>If this process resulted in a collection of character tokens, append a
-     single <code>Text</code> node, whose contents is the concatenation of
-     all those tokens' characters, to the new element node.
-
-   <li>
-    <p>The tokeniser's <a href="#content4">content model flag</a> will have
-     switched back to the PCDATA state.
+    <p>Let the <a href="#original">original insertion mode</a> be the current
+     <span>insertion mode</span>.</p>
 
    <li>
-    <p>If the next token is an end tag token with the same tag name as the
-     start tag token, ignore it. Otherwise, it's an end-of-file token, and
-     this is a <a href="#parse2">parse error</a>.
+    <p>Then, switch the <span>insertion mode</span> to "<a
+     href="#in-cdatarcdata" title="insertion mode: in CDATA/RCDATA">in
+     CDATA/RCDATA</a>".
   </ol>
 
   <h5 id=closing1><span class=secno>8.2.5.2. </span>Closing elements that
@@ -50165,119 +50179,44 @@
    <dt id=scriptTag>A start tag whose tag name is "script"
 
    <dd>
-    <p><a href="#create0">Create an element for the token</a> in the <a
-     href="#html-namespace0">HTML namespace</a>.</p>
-
-    <p>Mark the element as being <a
-     href="#parser-inserted">"parser-inserted"</a>. This ensures that, if the
-     script is external, any <code title=dom-document-write-HTML><a
-     href="#document.write...">document.write()</a></code> calls in the
-     script will execute in-line, instead of blowing the document away, as
-     would happen in most other cases.</p>
-
-    <p>Switch the tokeniser's <a href="#content4">content model flag</a> to
-     the CDATA state.</p>
-
-    <p>Then, collect all the character tokens that the tokeniser returns
-     until it returns a token that is not a character token, or until it
-     stops tokenizing.</p>
-
-    <p>If this process resulted in a collection of character tokens, append a
-     single <code>Text</code> node to the <code><a
-     href="#script1">script</a></code> element node whose contents is the
-     concatenation of all those tokens' characters.</p>
-
-    <p>The tokeniser's <a href="#content4">content model flag</a> will have
-     switched back to the PCDATA state.</p>
-
-    <p>If the next token is not an end tag token with the tag name "script",
-     then this is a <a href="#parse2">parse error</a>; mark the <code><a
-     href="#script1">script</a></code> element as <a href="#already">"already
-     executed"</a>. Otherwise, the token is the <code><a
-     href="#script1">script</a></code> element's end tag, so ignore it.</p>
-
-    <p>If the parser was originally created for the <a
-     href="#html-fragment0">HTML fragment parsing algorithm</a>, then mark
-     the <code><a href="#script1">script</a></code> element as <a
-     href="#already">"already executed"</a>, and skip the rest of the
-     processing described for this token (including the part below where
-     "<span title="pending external script">pending external scripts</span>"
-     are executed). (<a href="#fragment">fragment case</a>)</p>
-
-    <p class=note>Marking the <code><a href="#script1">script</a></code>
-     element as "already executed" prevents it from executing when it is
-     inserted into the document a few paragraphs below. Thus, scripts missing
-     their end tags and scripts that were inserted using <code
-     title=dom-innerHTML-HTML><a href="#innerhtml0">innerHTML</a></code>,
-     <code title=dom-outerHTML-HTML><a
-     href="#outerhtml0">outerHTML</a></code>, or <code
-     title=dom-insertAdjacentHTML-HTML><a
-     href="#insertadjacenthtml0">insertAdjacentHTML()</a></code> aren't
-     executed.</p>
-
-    <p>Let the <var title="">old insertion point</var> have the same value as
-     the current <a href="#insertion">insertion point</a>. Let the <a
-     href="#insertion">insertion point</a> be just before the <a
-     href="#next-input">next input character</a>.</p>
-
-    <p>Append the new element to the <a href="#current5">current node</a>. <a
-     href="#running" title="running a script">Special processing occurs when
-     a <code>script</code> element is inserted into a document</a> that might
-     cause some script to execute, which might cause <a
-     href="#document.write..." title=dom-document-write-HTML>new characters
-     to be inserted into the tokeniser</a>.</p>
-
-    <p>Let the <a href="#insertion">insertion point</a> have the value of the
-     <var title="">old insertion point</var>. (In other words, restore the <a
-     href="#insertion">insertion point</a> to the value it had before the
-     previous paragraph. This value might be the "undefined" value.)</p>
-
-    <p id=scriptTagParserResumes>At this stage, if there is a <span>pending
-     external script</span>, then:</p>
-
-    <dl class=switch>
-     <dt>If the tree construction stage is <a href="#nestedParsing">being
-      called reentrantly</a>, say from a call to <code
-      title=dom-document-write-HTML><a
-      href="#document.write...">document.write()</a></code>:
-
-     <dd>
-      <p>Abort the processing of any nested invocations of the tokeniser,
-       yielding control back to the caller. (Tokenization will resume when
-       the caller returns to the "outer" tree construction stage.)
-
-     <dt>Otherwise:
+    <ol>
+     <li>
+      <p><a href="#create0">Create an element for the token</a> in the <a
+       href="#html-namespace0">HTML namespace</a>.
 
-     <dd>
-      <p>Follow these steps:</p>
+     <li>
+      <p>Mark the element as being <a
+       href="#parser-inserted">"parser-inserted"</a>.</p>
 
-      <ol>
-       <li>
-        <p>Let <var title="">the script</var> be the <span>pending external
-         script</span>. There is no longer a <span>pending external
-         script</span>.
+      <p class=note>This ensures that, if the script is external, any <code
+       title=dom-document-write-HTML><a
+       href="#document.write...">document.write()</a></code> calls in the
+       script will execute in-line, instead of blowing the document away, as
+       would happen in most other cases. It also prevents the script from
+       executing until the end tag is seen.</p>
 
-       <li>
-        <p><a href="#pause">Pause</a> until the script has <a
-         href="#completed">completed loading</a>.
+     <li>
+      <p>If the parser was originally created for the <a
+       href="#html-fragment0">HTML fragment parsing algorithm</a>, then mark
+       the <code><a href="#script1">script</a></code> element as <a
+       href="#already">"already executed"</a>. (<a href="#fragment">fragment
+       case</a>)
 
-       <li>
-        <p>Let the <a href="#insertion">insertion point</a> be just before
-         the <a href="#next-input">next input character</a>.
+     <li>
+      <p>Append the new element to the <a href="#current5">current node</a>.</p>
 
-       <li>
-        <p><a href="#executing0" title="executing a script block">Execute the
-         script</a>.
+     <li>
+      <p>Switch the tokeniser's <a href="#content4">content model flag</a> to
+       the CDATA state.
 
-       <li>
-        <p>Let the <a href="#insertion">insertion point</a> be undefined
-         again.
+     <li>
+      <p>Let the <a href="#original">original insertion mode</a> be the
+       current <span>insertion mode</span>.</p>
 
-       <li>
-        <p>If there is once again a <span>pending external script</span>,
-         then repeat these steps from step 1.
-      </ol>
-    </dl>
+     <li>
+      <p>Switch the <span>insertion mode</span> to "<a href="#in-cdatarcdata"
+       title="insertion mode: in CDATA/RCDATA">in CDATA/RCDATA</a>".
+    </ol>
 
    <dt>An end tag whose tag name is "head"
 
@@ -51633,7 +51572,127 @@
     </ol>
   </dl>
 
-  <h5 id=parsing-main-intable><span class=secno>8.2.5.11. </span>The "<dfn
+  <h5 id=parsing-main-incdata><span class=secno>8.2.5.11. </span>The "<dfn
+   id=in-cdatarcdata title="insertion mode: in CDATA/RCDATA">in
+   CDATA/RCDATA</dfn>" insertion mode</h5>
+
+  <p>When the <span>insertion mode</span> is "<a href="#in-cdatarcdata"
+   title="insertion mode: in CDATA/RCDATA">in CDATA/RCDATA</a>", tokens must
+   be handled as follows:
+
+  <dl class=switch>
+   <dt>A character token
+
+   <dd>
+    <p><a href="#insert" title="insert a character">Insert the token's
+     character</a> into the <a href="#current5">current node</a>.</p>
+
+   <dt>An end-of-file token
+
+   <dd> <!-- can't be the fragment case -->
+    <p><a href="#parse2">Parse error</a>.</p>
+
+    <p>If the <a href="#current5">current node</a> is a <code><a
+     href="#script1">script</a></code> element, mark the <code><a
+     href="#script1">script</a></code> element as <a href="#already">"already
+     executed"</a>.</p>
+
+    <p>Pop the <a href="#current5">current node</a> off the <a
+     href="#stack">stack of open elements</a>.</p>
+
+    <p>Switch the <span>insertion mode</span> to the <a
+     href="#original">original insertion mode</a> and reprocess the current
+     token.</p>
+
+   <dt>An end tag whose tag name is "script"
+
+   <dd>
+    <p>Let <var title="">script</var> be the <a href="#current5">current
+     node</a> (which will be a <code><a href="#script1">script</a></code>
+     element).</p>
+
+    <p>Pop the <a href="#current5">current node</a> off the <a
+     href="#stack">stack of open elements</a>.</p>
+
+    <p>Switch the <span>insertion mode</span> to the <a
+     href="#original">original insertion mode</a>.</p>
+
+    <p>Let the <var title="">old insertion point</var> have the same value as
+     the current <a href="#insertion">insertion point</a>. Let the <a
+     href="#insertion">insertion point</a> be just before the <a
+     href="#next-input">next input character</a>.</p>
+
+    <p><a href="#running" title="running a script">Run</a> the <var
+     title="">script</var>. This might cause some script to execute, which
+     might cause <a href="#document.write..."
+     title=dom-document-write-HTML>new characters to be inserted into the
+     tokeniser</a>, and might cause the tokeniser to output more tokens,
+     resulting in a <a href="#nestedParsing">reentrant invocation of the
+     parser</a>.</p>
+
+    <p>Let the <a href="#insertion">insertion point</a> have the value of the
+     <var title="">old insertion point</var>. (In other words, restore the <a
+     href="#insertion">insertion point</a> to the value it had before the
+     previous paragraph. This value might be the "undefined" value.)</p>
+
+    <p id=scriptTagParserResumes>At this stage, if there is a <span>pending
+     external script</span>, then:</p>
+
+    <dl class=switch>
+     <dt>If the tree construction stage is <a href="#nestedParsing">being
+      called reentrantly</a>, say from a call to <code
+      title=dom-document-write-HTML><a
+      href="#document.write...">document.write()</a></code>:
+
+     <dd>
+      <p>Abort the processing of any nested invocations of the tokeniser,
+       yielding control back to the caller. (Tokenization will resume when
+       the caller returns to the "outer" tree construction stage.)
+
+     <dt>Otherwise:
+
+     <dd>
+      <p>Follow these steps:</p>
+
+      <ol>
+       <li>
+        <p>Let <var title="">the script</var> be the <span>pending external
+         script</span>. There is no longer a <span>pending external
+         script</span>.
+
+       <li>
+        <p><a href="#pause">Pause</a> until the script has <a
+         href="#completed">completed loading</a>.
+
+       <li>
+        <p>Let the <a href="#insertion">insertion point</a> be just before
+         the <a href="#next-input">next input character</a>.
+
+       <li>
+        <p><a href="#executing0" title="executing a script block">Execute the
+         script</a>.
+
+       <li>
+        <p>Let the <a href="#insertion">insertion point</a> be undefined
+         again.
+
+       <li>
+        <p>If there is once again a <span>pending external script</span>,
+         then repeat these steps from step 1.
+      </ol>
+    </dl>
+
+   <dt>Any other end tag
+
+   <dd>
+    <p>Pop the <a href="#current5">current node</a> off the <a
+     href="#stack">stack of open elements</a>.</p>
+
+    <p>Switch the <span>insertion mode</span> to the <a
+     href="#original">original insertion mode</a>.</p>
+  </dl>
+
+  <h5 id=parsing-main-intable><span class=secno>8.2.5.12. </span>The "<dfn
    id=in-table title="insertion mode: in table">in table</dfn>" insertion
    mode</h5>
 
@@ -51818,7 +51877,7 @@
    href="#html">html</a></code> element after this process is a <a
    href="#fragment">fragment case</a>.
 
-  <h5 id=parsing-main-incaption><span class=secno>8.2.5.12. </span>The "<dfn
+  <h5 id=parsing-main-incaption><span class=secno>8.2.5.13. </span>The "<dfn
    id=in-caption title="insertion mode: in caption">in caption</dfn>"
    insertion mode</h5>
 
@@ -51881,7 +51940,7 @@
      <span>insertion mode</span>.</p>
   </dl>
 
-  <h5 id=parsing-main-incolgroup><span class=secno>8.2.5.13. </span>The "<dfn
+  <h5 id=parsing-main-incolgroup><span class=secno>8.2.5.14. </span>The "<dfn
    id=in-column title="insertion mode: in column group">in column
    group</dfn>" insertion mode</h5>
 
@@ -51966,7 +52025,7 @@
      href="#fragment">fragment case</a>.</p>
   </dl>
 
-  <h5 id=parsing-main-intbody><span class=secno>8.2.5.14. </span>The "<dfn
+  <h5 id=parsing-main-intbody><span class=secno>8.2.5.15. </span>The "<dfn
    id=in-table0 title="insertion mode: in table body">in table body</dfn>"
    insertion mode</h5>
 
@@ -52056,7 +52115,7 @@
    href="#html">html</a></code> element after this process is a <a
    href="#fragment">fragment case</a>.
 
-  <h5 id=parsing-main-intr><span class=secno>8.2.5.15. </span>The "<dfn
+  <h5 id=parsing-main-intr><span class=secno>8.2.5.16. </span>The "<dfn
    id=in-row title="insertion mode: in row">in row</dfn>" insertion mode</h5>
 
   <p>When the <span>insertion mode</span> is "<a href="#in-row"
@@ -52145,7 +52204,7 @@
    href="#html">html</a></code> element after this process is a <a
    href="#fragment">fragment case</a>.
 
-  <h5 id=parsing-main-intd><span class=secno>8.2.5.16. </span>The "<dfn
+  <h5 id=parsing-main-intd><span class=secno>8.2.5.17. </span>The "<dfn
    id=in-cell title="insertion mode: in cell">in cell</dfn>" insertion mode</h5>
 
   <p>When the <span>insertion mode</span> is "<a href="#in-cell"
@@ -52246,7 +52305,7 @@
    neither when the <span>insertion mode</span> is "<a href="#in-cell"
    title="insertion mode: in cell">in cell</a>".
 
-  <h5 id=parsing-main-inselect><span class=secno>8.2.5.17. </span>The "<dfn
+  <h5 id=parsing-main-inselect><span class=secno>8.2.5.18. </span>The "<dfn
    id=in-select title="insertion mode: in select">in select</dfn>" insertion
    mode</h5>
 
@@ -52368,7 +52427,7 @@
     <p><a href="#parse2">Parse error</a>. Ignore the token.</p>
   </dl>
 
-  <h5 id=parsing-main-inselectintable><span class=secno>8.2.5.18. </span>The
+  <h5 id=parsing-main-inselectintable><span class=secno>8.2.5.19. </span>The
    "<dfn id=in-select0 title="insertion mode: in select in table">in select
    in table</dfn>" insertion mode</h5>
 
@@ -52404,7 +52463,7 @@
      <span>insertion mode</span>.</p>
   </dl>
 
-  <h5 id=parsing-main-inforeign><span class=secno>8.2.5.19. </span>The "<dfn
+  <h5 id=parsing-main-inforeign><span class=secno>8.2.5.20. </span>The "<dfn
    id=in-foreign title="insertion mode: in foreign content">in foreign
    content</dfn>" insertion mode</h5>
 
@@ -52586,7 +52645,7 @@
      flag">acknowledge the token's <i>self-closing flag</i></a>.</p>
   </dl>
 
-  <h5 id=parsing-main-afterbody><span class=secno>8.2.5.20. </span>The "<dfn
+  <h5 id=parsing-main-afterbody><span class=secno>8.2.5.21. </span>The "<dfn
    id=after10 title="insertion mode: after body">after body</dfn>" insertion
    mode</h5>
 
@@ -52650,7 +52709,7 @@
      body</a>" and reprocess the token.</p>
   </dl>
 
-  <h5 id=parsing-main-inframeset><span class=secno>8.2.5.21. </span>The "<dfn
+  <h5 id=parsing-main-inframeset><span class=secno>8.2.5.22. </span>The "<dfn
    id=in-frameset title="insertion mode: in frameset">in frameset</dfn>"
    insertion mode</h5>
 
@@ -52745,7 +52804,7 @@
     <p><a href="#parse2">Parse error</a>. Ignore the token.</p>
   </dl>
 
-  <h5 id=parsing-main-afterframeset><span class=secno>8.2.5.22. </span>The
+  <h5 id=parsing-main-afterframeset><span class=secno>8.2.5.23. </span>The
    "<dfn id=after11 title="insertion mode: after frameset">after
    frameset</dfn>" insertion mode</h5>
 
@@ -52810,7 +52869,7 @@
    that do support frames but want to show the NOFRAMES content. Supporting
    the former is easy; supporting the latter is harder.
 
-  <h5 id=the-after0><span class=secno>8.2.5.23. </span>The "<dfn id=after12
+  <h5 id=the-after0><span class=secno>8.2.5.24. </span>The "<dfn id=after12
    title="insertion mode: after after body">after after body</dfn>" insertion
    mode</h5>
 
@@ -52852,7 +52911,7 @@
      body</a>" and reprocess the token.</p>
   </dl>
 
-  <h5 id=the-after1><span class=secno>8.2.5.24. </span>The "<dfn id=after13
+  <h5 id=the-after1><span class=secno>8.2.5.25. </span>The "<dfn id=after13
    title="insertion mode: after after frameset">after after frameset</dfn>"
    insertion mode</h5>
 

Received on Tuesday, 2 September 2008 09:43:21 UTC