Skip to content
Permalink
Browse files
[e] (0) Try to clarify that an element with an empty itemprop='' does…
…n't get listed in the .properties list.

Affected topics: Microdata

git-svn-id: http://svn.whatwg.org/webapps@6854 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 8, 2011
1 parent 4f933e8 commit 76f285b6d327a5a790c489643e80484a5eaeccb7
Showing with 29 additions and 21 deletions.
  1. +10 −7 complete.html
  2. +10 −7 index
  3. +9 −7 source
@@ -240,7 +240,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 December 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 8 December 2011</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -57414,7 +57414,9 @@ <h4 id=associating-names-with-items><span class=secno>5.2.5 </span>Associating n
element <var title="">root</var>, the user agent must run the
following steps. These steps are also used to flag <a href=#microdata-error title="microdata error">microdata errors</a>.</p>

<ol><li><p>Let <var title="">results</var>, <var title="">memory</var>, and <var title="">pending</var> be empty lists of elements.</li>
<ol><li><p>Let <var title="">results</var>, <var title="">memory</var>,
and <var title="">pending</var> be empty lists of
elements.</li>

<li><p>Add the element <var title="">root</var> to <var title="">memory</var>.</li>

@@ -57444,8 +57446,9 @@ <h4 id=associating-names-with-items><span class=secno>5.2.5 </span>Associating n
then: add all the child elements of <var title="">current</var> to
<var title="">pending</var>.</li>

<li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified, add it
to <var title="">results</var>.</li>
<li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified and the
element has one or more <a href=#property-names>property names</a>, then add the
element to <var title="">results</var>.</li>

<li><p>Return to the step labeled <i>loop</i>.</li>

@@ -57630,9 +57633,9 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>
attribute on <a href=#html-elements>HTML elements</a> must return an
<code><a href=#htmlpropertiescollection>HTMLPropertiesCollection</a></code> rooted at the
<code><a href=#document>Document</a></code> node, whose filter matches only elements that
have <a href=#property-names>property names</a> and are <a href=#the-properties-of-an-item title="the properties
of an item">the properties of the item</a> created by the element
on which the attribute was invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
are <a href=#the-properties-of-an-item title="the properties of an item">the properties of the
item</a> created by the element on which the attribute was
invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
the time.</p>

<p>The <dfn id=dom-itemvalue title=dom-itemValue><code>itemValue</code></dfn> IDL
17 index
@@ -240,7 +240,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 December 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 8 December 2011</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -57414,7 +57414,9 @@ document.body.appendChild(outer);</pre>
element <var title="">root</var>, the user agent must run the
following steps. These steps are also used to flag <a href=#microdata-error title="microdata error">microdata errors</a>.</p>

<ol><li><p>Let <var title="">results</var>, <var title="">memory</var>, and <var title="">pending</var> be empty lists of elements.</li>
<ol><li><p>Let <var title="">results</var>, <var title="">memory</var>,
and <var title="">pending</var> be empty lists of
elements.</li>

<li><p>Add the element <var title="">root</var> to <var title="">memory</var>.</li>

@@ -57444,8 +57446,9 @@ document.body.appendChild(outer);</pre>
then: add all the child elements of <var title="">current</var> to
<var title="">pending</var>.</li>

<li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified, add it
to <var title="">results</var>.</li>
<li><p>If <var title="">current</var> has an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute specified and the
element has one or more <a href=#property-names>property names</a>, then add the
element to <var title="">results</var>.</li>

<li><p>Return to the step labeled <i>loop</i>.</li>

@@ -57630,9 +57633,9 @@ document.body.appendChild(outer);</pre>
attribute on <a href=#html-elements>HTML elements</a> must return an
<code><a href=#htmlpropertiescollection>HTMLPropertiesCollection</a></code> rooted at the
<code><a href=#document>Document</a></code> node, whose filter matches only elements that
have <a href=#property-names>property names</a> and are <a href=#the-properties-of-an-item title="the properties
of an item">the properties of the item</a> created by the element
on which the attribute was invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
are <a href=#the-properties-of-an-item title="the properties of an item">the properties of the
item</a> created by the element on which the attribute was
invoked, while that element is an <a href=#concept-item title=concept-item>item</a>, and matches nothing the rest of
the time.</p>

<p>The <dfn id=dom-itemvalue title=dom-itemValue><code>itemValue</code></dfn> IDL
16 source
@@ -66960,8 +66960,9 @@ document.body.appendChild(outer);</pre>

<ol>

<li><p>Let <var title="">results</var>, <var title="">memory</var>, and <var
title="">pending</var> be empty lists of elements.</p></li>
<li><p>Let <var title="">results</var>, <var title="">memory</var>,
and <var title="">pending</var> be empty lists of
elements.</p></li>

<li><p>Add the element <var title="">root</var> to <var
title="">memory</var>.</p></li>
@@ -66997,8 +66998,9 @@ document.body.appendChild(outer);</pre>
<var title="">pending</var>.</p></li>

<li><p>If <var title="">current</var> has an <code
title="attr-itemprop">itemprop</code> attribute specified, add it
to <var title="">results</var>.</p></li>
title="attr-itemprop">itemprop</code> attribute specified and the
element has one or more <span>property names</span>, then add the
element to <var title="">results</var>.</p></li>

<li><p>Return to the step labeled <i>loop</i>.</p></li>

@@ -67233,9 +67235,9 @@ partial interface <span>HTMLElement</span> {
attribute on <span>HTML elements</span> must return an
<code>HTMLPropertiesCollection</code> rooted at the
<code>Document</code> node, whose filter matches only elements that
have <span>property names</span> and are <span title="the properties
of an item">the properties of the item</span> created by the element
on which the attribute was invoked, while that element is an <span
are <span title="the properties of an item">the properties of the
item</span> created by the element on which the attribute was
invoked, while that element is an <span
title="concept-item">item</span>, and matches nothing the rest of
the time.</p>

0 comments on commit 76f285b

Please sign in to comment.