NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 523 - Simplify the foster parenting definition a tiny bit.
Simplify the foster parenting definition a tiny bit.
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:19 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:19:36 CEST
Index: source
===================================================================
--- source	(revision 2731)
+++ source	(revision 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