- From: poot <cvsmail@w3.org>
- Date: Sun, 25 Oct 2009 15:20:05 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Confusing terminology (whatwg r4324) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3459&r2=1.3460&f=h http://html5.org/tools/web-apps-tracker?from=4323&to=4324 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3459 retrieving revision 1.3460 diff -u -d -r1.3459 -r1.3460 --- Overview.html 25 Oct 2009 06:03:00 -0000 1.3459 +++ Overview.html 25 Oct 2009 06:19:39 -0000 1.3460 @@ -40104,7 +40104,7 @@ element</a>.<h4 id="associating-names-with-items"><span class="secno">5.2.5 </span>Associating names with items</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>To find <dfn id="the-properties-of-an-item">the properties of an item</dfn>, the user agent must run the following steps:<ol><li><p>Let <var title="">root</var> be the element with the <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute.</li> - <li><p>Let <var title="">queue</var> be a stack of elements + <li><p>Let <var title="">pending</var> be a stack of elements initially containing the child elements of <var title="">root</var>, if any, in <a href="#tree-order">tree order</a> (so that the first child element of <var title="">root</var> will be the first one to be popped from the stack). This list will be the one @@ -40118,43 +40118,43 @@ string on spaces">split the value of that <code title="attr-itemref">itemref</code> attribute on spaces</a>. For each resulting token, <var title="">ID</var>, if there is an element in the document with the <a href="#concept-id" title="concept-ID">ID</a> - <var title="">ID</var>, then push the first such element onto <var title="">queue</var>.</li> + <var title="">ID</var>, then push the first such element onto <var title="">pending</var>.</li> <li> - <p>For each element <var title="">candidate</var> in <var title="">queue</var>, run the following substeps:</p> + <p>For each element <var title="">candidate</var> in <var title="">pending</var>, run the following substeps:</p> <ol><li><p>Let <var title="">scope</var> be <var title="">candidate</var>'s nearest ancestor element with an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute specified.</li> - <li><p>If one of the other elements in <var title="">queue</var> - is also <var title="">candidate</var>, then remove <var title="">candidate</var> from <var title="">queue</var> + <li><p>If one of the other elements in <var title="">pending</var> + is also <var title="">candidate</var>, then remove <var title="">candidate</var> from <var title="">pending</var> (i.e. remove duplicates).</li> - <li><p>Otherwise, if one of the other elements in <var title="">queue</var> is an ancestor element of <var title="">candidate</var>, and that element is <var title="">scope</var>, then remove <var title="">candidate</var> - from <var title="">queue</var>.</li> + <li><p>Otherwise, if one of the other elements in <var title="">pending</var> is an ancestor element of <var title="">candidate</var>, and that element is <var title="">scope</var>, then remove <var title="">candidate</var> + from <var title="">pending</var>.</li> - <li><p>Otherwise, if one of the other elements in <var title="">queue</var> is an ancestor element of <var title="">candidate</var>, and that element also has <var title="">scope</var> as its nearest ancestor element with an + <li><p>Otherwise, if one of the other elements in <var title="">pending</var> is an ancestor element of <var title="">candidate</var>, and that element also has <var title="">scope</var> as its nearest ancestor element with an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute - specified, then remove <var title="">candidate</var> from <var title="">queue</var>.</li> + specified, then remove <var title="">candidate</var> from <var title="">pending</var>.</li> </ol></li> - <li><p>Sort <var title="">queue</var> in <a href="#tree-order">tree + <li><p>Sort <var title="">pending</var> in <a href="#tree-order">tree order</a>.</li> - <li><p><i>Loop</i>: Pop the top element from <var title="">queue</var> and let <var title="">current</var> be that + <li><p><i>Loop</i>: Pop the top element from <var title="">pending</var> and let <var title="">current</var> be that element.</li> <li><p>If <var title="">current</var> has an <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, then append <var title="">current</var> to <var title="">properties</var>.</li> <li><p>If <var title="">current</var> does not have an <code title="attr-itemscope"><a href="#attr-itemscope">itemscope</a></code> attribute, and <var title="">current</var> is an element with child elements, then: push all the child elements of <var title="">current</var> onto - <var title="">queue</var>, in <a href="#tree-order">tree order</a> (so the first + <var title="">pending</var>, in <a href="#tree-order">tree order</a> (so the first child of <var title="">current</var> will be the next element to be - popped from <var title="">queue</var>).</li> + popped from <var title="">pending</var>).</li> - <li><p><i>End of loop</i>: If <var title="">queue</var> is not + <li><p><i>End of loop</i>: If <var title="">pending</var> is not empty, return to the step marked <i>loop</i>.</li> <li><p>Return <var title="">properties</var>. That is the list of
Received on Sunday, 25 October 2009 06:20:34 UTC