W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2010

html5/spec Overview.html,1.4116,1.4117

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Jul 2010 19:04:58 +0000
To: public-html-commits@w3.org
Message-Id: <E1OZ7GN-0001l4-2U@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv6743

Modified Files:
	Overview.html 
Log Message:
Some parser clarifications. (whatwg r5161)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4116
retrieving revision 1.4117
diff -u -d -r1.4116 -r1.4117
--- Overview.html	14 Jul 2010 18:27:50 -0000	1.4116
+++ Overview.html	14 Jul 2010 19:04:55 -0000	1.4117
@@ -55607,24 +55607,29 @@
   <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-0">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
+  such a parent element.</p>
+
+  <p class="note">It might have no parent or some other kind parent if
+  a script manipulated the DOM after the element was inserted by the
+  parser.</p>
+
+  <p>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-0">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>, 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
+  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
-  elements</a>, then <var title="">node</var> must be inserted
-  immediately <em>before</em> 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> in the <i><a href="#foster-parent-element">foster parent
-  element</a></i>; otherwise, <var title="">node</var> must be
+  elements</a>, then <var title="">node</var> must be inserted into
+  the <i><a href="#foster-parent-element">foster parent element</a></i>, immediately <em>before</em> 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>; otherwise, <var title="">node</var> must be
   <em>appended</em> to the <i><a href="#foster-parent-element">foster parent element</a></i>.</p>
 
 
Received on Wednesday, 14 July 2010 19:05:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 14 July 2010 19:05:00 GMT