[html5] r2862 - [ct] (0) Reverse r2732 since it broke pages.

whatwg at whatwg.org whatwg at whatwg.org
Mon Feb 23 14:04:42 PST 2009


Author: ianh
Date: 2009-02-23 14:04:41 -0800 (Mon, 23 Feb 2009)
New Revision: 2862

Modified:
   index
   source
Log:
[ct] (0) Reverse r2732 since it broke pages.

Modified: index
===================================================================
--- index	2009-02-23 12:57:55 UTC (rev 2861)
+++ index	2009-02-23 22:04:41 UTC (rev 2862)
@@ -51014,14 +51014,20 @@
   <i><a href=#foster-parent-element>foster parent element</a></i> instead of the <a href=#current-node>current
   node</a>.)</p>
 
-  <p>The <dfn id=foster-parent-element>foster parent element</dfn> is defined as follows: If
-  there is no <code><a href=#the-table-element>table</a></code> element in the <a href=#stack-of-open-elements>stack of open
-  elements</a> (<a href=#fragment-case>fragment case</a>), then the <i><a href=#foster-parent-element>foster
-  parent element</a></i> is the first element in the <a href=#stack-of-open-elements>stack of open
-  elements</a> (the <code><a href=#the-html-element>html</a></code> element). Otherwise, the
-  <i><a href=#foster-parent-element>foster parent element</a></i> is the element before the last
+  <p>The <dfn id=foster-parent-element>foster parent element</dfn> is the parent element of the
+  last <code><a href=#the-table-element>table</a></code> element in the <a href=#stack-of-open-elements>stack of open
+  elements</a>, if there is a <code><a href=#the-table-element>table</a></code> element and it has
+  such a parent element. If there is no <code><a href=#the-table-element>table</a></code> element in
+  the <a href=#stack-of-open-elements>stack of open elements</a> (<a href=#fragment-case>fragment
+  case</a>), then the <i><a href=#foster-parent-element>foster parent element</a></i> is the first
+  element in the <a href=#stack-of-open-elements>stack of open elements</a> (the
+  <code><a href=#the-html-element>html</a></code> element). Otherwise, if there is a
   <code><a href=#the-table-element>table</a></code> element in the <a href=#stack-of-open-elements>stack of open
-  elements</a>.</p>
+  elements</a>, but the last <code><a href=#the-table-element>table</a></code> element in the
+  <a href=#stack-of-open-elements>stack of open elements</a> has no parent, or its parent
+  node is not an element, then the <i><a href=#foster-parent-element>foster parent element</a></i> is
+  the element before the last <code><a href=#the-table-element>table</a></code> element in the
+  <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
   <p>If the <i><a href=#foster-parent-element>foster parent element</a></i> is the parent element of the
   last <code><a href=#the-table-element>table</a></code> element in the <a href=#stack-of-open-elements>stack of open

Modified: source
===================================================================
--- source	2009-02-23 12:57:55 UTC (rev 2861)
+++ source	2009-02-23 22:04:41 UTC (rev 2862)
@@ -58286,14 +58286,20 @@
   <i>foster parent element</i> instead of the <span>current
   node</span>.)</p>
 
-  <p>The <dfn>foster parent element</dfn> is defined as follows: If
-  there is no <code>table</code> element in the <span>stack of open
-  elements</span> (<span>fragment case</span>), then the <i>foster
-  parent element</i> is the first element in the <span>stack of open
-  elements</span> (the <code>html</code> element). Otherwise, the
-  <i>foster parent element</i> is the element before the last
+  <p>The <dfn>foster parent element</dfn> is the parent element of the
+  last <code>table</code> element in the <span>stack of open
+  elements</span>, if there is a <code>table</code> element and it has
+  such a parent element. If there is no <code>table</code> element in
+  the <span>stack of open elements</span> (<span>fragment
+  case</span>), then the <i>foster parent element</i> is the first
+  element in the <span>stack of open elements</span> (the
+  <code>html</code> element). Otherwise, if there is a
   <code>table</code> element in the <span>stack of open
-  elements</span>.</p>
+  elements</span>, but the last <code>table</code> element in the
+  <span>stack of open elements</span> has no parent, or its parent
+  node is not an element, then the <i>foster parent element</i> is
+  the element before the last <code>table</code> element in the
+  <span>stack of open elements</span>.</p>
 
   <p>If the <i>foster parent element</i> is the parent element of the
   last <code>table</code> element in the <span>stack of open




More information about the Commit-Watchers mailing list