[html5] r2732 - [ct] (2) Simplify the foster parenting definition a tiny bit.

whatwg at whatwg.org whatwg at whatwg.org
Sun Feb 1 00:53:48 PST 2009


Author: ianh
Date: 2009-02-01 00:53:47 -0800 (Sun, 01 Feb 2009)
New Revision: 2732

Modified:
   index
   source
Log:
[ct] (2) Simplify the foster parenting definition a tiny bit.

Modified: index
===================================================================
--- index	2009-02-01 08:31:02 UTC (rev 2731)
+++ index	2009-02-01 08:53:47 UTC (rev 2732)
@@ -49575,20 +49575,14 @@
   <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 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
+  <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
   <code><a href=#the-table-element>table</a></code> element in the <a href=#stack-of-open-elements>stack of open
-  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>
+  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-01 08:31:02 UTC (rev 2731)
+++ source	2009-02-01 08:53:47 UTC (rev 2732)
@@ -56564,20 +56564,14 @@
   <i>foster parent element</i> instead of the <span>current
   node</span>.)</p>
 
-  <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
+  <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
   <code>table</code> element in the <span>stack of open
-  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>
+  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