hixie: Try to fix the problem David Flanagan raised a while back with the <!DOCTYPE html><body><table><math><mi>foo</mi></math></table> test case. (whatwg r6870)

hixie: Try to fix the problem David Flanagan raised a while back with
the <!DOCTYPE html><body><table><math><mi>foo</mi></math></table> test
case. (whatwg r6870)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5469&r2=1.5470&f=h
http://html5.org/tools/web-apps-tracker?from=6869&to=6870

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5469
retrieving revision 1.5470
diff -u -d -r1.5469 -r1.5470
--- Overview.html 9 Dec 2011 23:12:29 -0000 1.5469
+++ Overview.html 13 Dec 2011 22:36:33 -0000 1.5470
@@ -320,7 +320,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-9-december-2011">Editor's Draft 9 December 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-13-december-2011">Editor's Draft 13 December 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -466,7 +466,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 9 December 2011 Editor's Draft.
+  This specification is the 13 December 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -62906,7 +62906,7 @@
 
   <p>When the user agent is to apply the rules for the "<a href="#parsing-main-intable" title="insertion mode: in table">in table</a>" <a href="#insertion-mode">insertion mode</a>, the user agent must handle the token as follows:</p>
 
-  <dl class="switch"><dt>A character token</dt>
+  <dl class="switch"><dt>A character token, if the <a href="#current-node">current node</a> is <code><a href="#the-table-element">table</a></code>, <code><a href="#the-tbody-element">tbody</a></code>, <code><a href="#the-tfoot-element">tfoot</a></code>, <code><a href="#the-thead-element">thead</a></code>, or <code><a href="#the-tr-element">tr</a></code> element</dt>
    <dd>
 
      <p>Let the <dfn id="pending-table-character-tokens"><var>pending table character tokens</var></dfn>
@@ -63085,11 +63085,11 @@
 
     <p><a href="#parse-error">Parse error</a>. Process the token <a href="#using-the-rules-for">using the
     rules for</a> the "<a href="#parsing-main-inbody" title="insertion mode: in body">in
-    body</a>" <a href="#insertion-mode">insertion mode</a>, except that if the
+    body</a>" <a href="#insertion-mode">insertion mode</a>, except that whenever a
+    node would be inserted into the <a href="#current-node">current node</a> when the
     <a href="#current-node">current node</a> is a <code><a href="#the-table-element">table</a></code>,
     <code><a href="#the-tbody-element">tbody</a></code>, <code><a href="#the-tfoot-element">tfoot</a></code>, <code><a href="#the-thead-element">thead</a></code>, or
-    <code><a href="#the-tr-element">tr</a></code> element, then, whenever a node would be inserted
-    into the <a href="#current-node">current node</a>, it must instead be <a href="#foster-parent" title="foster parent">foster parented</a>.</p>
+    <code><a href="#the-tr-element">tr</a></code> element, then it must instead be <a href="#foster-parent" title="foster parent">foster parented</a>.</p>
 
    </dd>
 
@@ -63129,17 +63129,18 @@
    <dt>Anything else</dt>
    <dd>
 
+    
     <p>If any of the tokens in the <var><a href="#pending-table-character-tokens">pending table character
     tokens</a></var> list are character tokens that are not <a href="#space-character" title="space character">space characters</a>, then reprocess
     the character tokens in the <var><a href="#pending-table-character-tokens">pending table character
-    tokens</a></var> list using the rules given in the "anything
-    else" entry in the "<a href="#parsing-main-intable" title="insertion mode: in table">in
+    tokens</a></var> list using the rules given in the "anything else"
+    entry in the "<a href="#parsing-main-intable" title="insertion mode: in table">in
     table</a>" insertion mode.</p>
 
+    
     <p>Otherwise, <a href="#insert-a-character" title="insert a character">insert the
     characters</a> given by the <var><a href="#pending-table-character-tokens">pending table character
-    tokens</a></var> list into the <a href="#current-node">current node</a>.</p>
-
+    tokens</a></var> list into the <a href="#current-node">current node</a>.</p> 
     
     <p>Switch the <a href="#insertion-mode">insertion mode</a> to the <a href="#original-insertion-mode">original
     insertion mode</a> and reprocess the token.</p>

Received on Wednesday, 14 December 2011 02:00:46 UTC