- From: poot <cvsmail@w3.org>
- Date: Tue, 5 Jan 2010 15:42:13 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Microdata: Fix the algorithm that removes duplicates to handle itemref=''. (whatwg r4473) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3572&r2=1.3573&f=h http://html5.org/tools/web-apps-tracker?from=4472&to=4473 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3572 retrieving revision 1.3573 diff -u -d -r1.3572 -r1.3573 --- Overview.html 5 Jan 2010 06:26:14 -0000 1.3572 +++ Overview.html 5 Jan 2010 06:42:03 -0000 1.3573 @@ -40051,8 +40051,8 @@ <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> + <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, if + any, or null otherwise.</li> <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> @@ -40061,9 +40061,10 @@ <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="">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="">pending</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 either <var title="">scope</var> is + null or 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="">pending</var>.</li> </ol></li>
Received on Tuesday, 5 January 2010 06:42:41 UTC