- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Jul 2010 19:06:45 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv7033 Modified Files: spec.html tokenization.html Log Message: Some parser clarifications. (whatwg r5161) [updated by splitter] Index: tokenization.html =================================================================== RCS file: /sources/public/html5/spec/tokenization.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- tokenization.html 14 Jul 2010 18:36:38 -0000 1.10 +++ tokenization.html 14 Jul 2010 19:06:43 -0000 1.11 @@ -2700,24 +2700,29 @@ <p>The <dfn id="foster-parent-element">foster parent element</dfn> is the parent element of the last <code><a href="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#stack-of-open-elements">stack of open elements</a>, if there is a <code><a href="tabular-data.html#the-table-element">table</a></code> element and it has - such a parent element. If there is no <code><a href="tabular-data.html#the-table-element">table</a></code> element in - the <a href="parsing.html#stack-of-open-elements">stack of open elements</a> (<a href="the-end.html#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="parsing.html#stack-of-open-elements">stack of open elements</a> (the - <code><a href="semantics.html#the-html-element-0">html</a></code> element). Otherwise, if there is a - <code><a href="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#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="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#stack-of-open-elements">stack of + open elements</a> (<a href="the-end.html#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="parsing.html#stack-of-open-elements">stack + of open elements</a> (the <code><a href="semantics.html#the-html-element-0">html</a></code> element). Otherwise, + if there is a <code><a href="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#stack-of-open-elements">stack of open elements</a>, but the last <code><a href="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#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="tabular-data.html#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="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#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="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#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="tabular-data.html#the-table-element">table</a></code> element in - the <a href="parsing.html#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="tabular-data.html#the-table-element">table</a></code> element in the <a href="parsing.html#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> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1056 retrieving revision 1.1057 diff -u -d -r1.1056 -r1.1057 --- spec.html 14 Jul 2010 18:36:37 -0000 1.1056 +++ spec.html 14 Jul 2010 19:06:43 -0000 1.1057 @@ -333,7 +333,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">author edition</a>. -This is revision 1.4116. +This is revision 1.4117. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Wednesday, 14 July 2010 19:06:47 UTC