Skip to content

Commit

Permalink
[e] (0) Correct case of various microdata attributes.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7794

git-svn-id: http://svn.whatwg.org/webapps@4174 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 19, 2009
1 parent c05ba52 commit 20cddf7
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 30 deletions.
23 changes: 14 additions & 9 deletions complete.html
Expand Up @@ -11801,7 +11801,7 @@ <h4 id=itemref><span class=secno>4.2.6 </span>The <dfn><code>itemref</code></dfn
<dt>DOM interface:</dt>
<dd>
<pre class=idl>interface <dfn id=htmlitemrefelement>HTMLItemRefElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-itemref-refid title=dom-itemref-refid>refid</a>;
attribute DOMString <a href=#dom-itemref-refid title=dom-itemref-refId>refId</a>;
};</pre>
</dd>
</dl><p>The <code><a href=#itemref>itemref</a></code> element is used to include by reference
Expand All @@ -11819,9 +11819,8 @@ <h4 id=itemref><span class=secno>4.2.6 </span>The <dfn><code>itemref</code></dfn

<div class=impl>

<p>The <dfn id=dom-itemref-refid title=dom-itemref-refid><code>refid</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name.</p>
<p>The <dfn id=dom-itemref-refid title=dom-itemref-refId><code>refId</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the <code title=attr-itemref-refid><a href=#attr-itemref-refid>refid</a></code> content attribute.</p>

</div>

Expand Down Expand Up @@ -44915,8 +44914,8 @@ <h4 id=associating-names-with-items><span class=secno>5.2.5 </span>Associating n
first element in the document whose <a href=#concept-id title=concept-id>ID</a> matches the value of <var title="">current</var>'s <code title=attr-itemref-refid><a href=#attr-itemref-refid>refid</a></code> attribute onto <var title="">queue</var> (so that it will be the next element to be
popped from <var title="">queue</var>).</li>

<li><p>Otherwise, if <var title="">current</var> is not a
<code>refid</code> element, and <var title="">current</var> does
<li><p>Otherwise, if <var title="">current</var> is not an
<code><a href=#itemref>itemref</a></code> element, and <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
Expand Down Expand Up @@ -45044,9 +45043,15 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>
containing all the <a href=#top-level-microdata-items>top-level microdata items</a> in the
document.</p>

<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn>, <dfn id=dom-itemtype title=dom-itemType><code>itemType</code></dfn>, <dfn id=dom-itemid title=dom-itemId><code>itemId</code></dfn>, and <dfn id=dom-itemprop title=dom-itemProp><code>itemProp</code></dfn> IDL attributes on
<a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a> the respective
content attributes of the same name.</p>
<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a>
the <code title=attr-itemscope><a href=#attr-itemscope>itemscope</a></code> content attribute.
The <dfn id=dom-itemtype title=dom-itemType><code>itemType</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a>
the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> content attribute.
The <dfn id=dom-itemid title=dom-itemId><code>itemId</code></dfn> IDL attribute
on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a> the <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> content attribute. The <dfn id=dom-itemprop title=dom-itemProp><code>itemProp</code></dfn> IDL attribute on
<a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a> the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> content attribute.</p>

<p>The <dfn id=dom-properties title=dom-properties><code>properties</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must return an
Expand Down
23 changes: 14 additions & 9 deletions index
Expand Up @@ -11630,7 +11630,7 @@ people expect to have work and what is necessary.
<dt>DOM interface:</dt>
<dd>
<pre class=idl>interface <dfn id=htmlitemrefelement>HTMLItemRefElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-itemref-refid title=dom-itemref-refid>refid</a>;
attribute DOMString <a href=#dom-itemref-refid title=dom-itemref-refId>refId</a>;
};</pre>
</dd>
</dl><p>The <code><a href=#itemref>itemref</a></code> element is used to include by reference
Expand All @@ -11648,9 +11648,8 @@ people expect to have work and what is necessary.

<div class=impl>

<p>The <dfn id=dom-itemref-refid title=dom-itemref-refid><code>refid</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name.</p>
<p>The <dfn id=dom-itemref-refid title=dom-itemref-refId><code>refId</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the <code title=attr-itemref-refid><a href=#attr-itemref-refid>refid</a></code> content attribute.</p>

</div>

Expand Down Expand Up @@ -44744,8 +44743,8 @@ document.body.appendChild(outer);</pre>
first element in the document whose <a href=#concept-id title=concept-id>ID</a> matches the value of <var title="">current</var>'s <code title=attr-itemref-refid><a href=#attr-itemref-refid>refid</a></code> attribute onto <var title="">queue</var> (so that it will be the next element to be
popped from <var title="">queue</var>).</li>

<li><p>Otherwise, if <var title="">current</var> is not a
<code>refid</code> element, and <var title="">current</var> does
<li><p>Otherwise, if <var title="">current</var> is not an
<code><a href=#itemref>itemref</a></code> element, and <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
Expand Down Expand Up @@ -44873,9 +44872,15 @@ document.body.appendChild(outer);</pre>
containing all the <a href=#top-level-microdata-items>top-level microdata items</a> in the
document.</p>

<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn>, <dfn id=dom-itemtype title=dom-itemType><code>itemType</code></dfn>, <dfn id=dom-itemid title=dom-itemId><code>itemId</code></dfn>, and <dfn id=dom-itemprop title=dom-itemProp><code>itemProp</code></dfn> IDL attributes on
<a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a> the respective
content attributes of the same name.</p>
<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a>
the <code title=attr-itemscope><a href=#attr-itemscope>itemscope</a></code> content attribute.
The <dfn id=dom-itemtype title=dom-itemType><code>itemType</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a>
the <code title=attr-itemtype><a href=#attr-itemtype>itemtype</a></code> content attribute.
The <dfn id=dom-itemid title=dom-itemId><code>itemId</code></dfn> IDL attribute
on <a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a> the <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> content attribute. The <dfn id=dom-itemprop title=dom-itemProp><code>itemProp</code></dfn> IDL attribute on
<a href=#html-elements>HTML elements</a> must <a href=#reflect>reflect</a> the <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> content attribute.</p>

<p>The <dfn id=dom-properties title=dom-properties><code>properties</code></dfn> IDL
attribute on <a href=#html-elements>HTML elements</a> must return an
Expand Down
30 changes: 18 additions & 12 deletions source
Expand Up @@ -12284,7 +12284,7 @@ people expect to have work and what is necessary.
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLItemRefElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-itemref-refid">refid</span>;
attribute DOMString <span title="dom-itemref-refId">refId</span>;
};</pre>
</dd>
</dl>
Expand All @@ -12305,9 +12305,9 @@ people expect to have work and what is necessary.

<div class="impl">

<p>The <dfn title="dom-itemref-refid"><code>refid</code></dfn> IDL
attribute must <span>reflect</span> the content attribute of the
same name.</p>
<p>The <dfn title="dom-itemref-refId"><code>refId</code></dfn> IDL
attribute must <span>reflect</span> the <code
title="attr-itemref-refid">refid</code> content attribute.</p>

</div>

Expand Down Expand Up @@ -49986,8 +49986,8 @@ document.body.appendChild(outer);</pre>
title="">queue</var> (so that it will be the next element to be
popped from <var title="">queue</var>).</p></li>

<li><p>Otherwise, if <var title="">current</var> is not a
<code>refid</code> element, and <var title="">current</var> does
<li><p>Otherwise, if <var title="">current</var> is not an
<code>itemref</code> element, and <var title="">current</var> does
not have an <code title="attr-itemscope">itemscope</code>
attribute, and <var title="">current</var> is an element with child
elements, then: push all the child elements of <var
Expand Down Expand Up @@ -50135,12 +50135,18 @@ document.body.appendChild(outer);</pre>
containing all the <span>top-level microdata items</span> in the
document.</p>

<p>The <dfn title="dom-itemScope"><code>itemScope</code></dfn>, <dfn
title="dom-itemType"><code>itemType</code></dfn>, <dfn
title="dom-itemId"><code>itemId</code></dfn>, and <dfn
title="dom-itemProp"><code>itemProp</code></dfn> IDL attributes on
<span>HTML elements</span> must <span>reflect</span> the respective
content attributes of the same name.</p>
<p>The <dfn title="dom-itemScope"><code>itemScope</code></dfn> IDL
attribute on <span>HTML elements</span> must <span>reflect</span>
the <code title="attr-itemscope">itemscope</code> content attribute.
The <dfn title="dom-itemType"><code>itemType</code></dfn> IDL
attribute on <span>HTML elements</span> must <span>reflect</span>
the <code title="attr-itemtype">itemtype</code> content attribute.
The <dfn title="dom-itemId"><code>itemId</code></dfn> IDL attribute
on <span>HTML elements</span> must <span>reflect</span> the <code
title="attr-itemid">itemid</code> content attribute. The <dfn
title="dom-itemProp"><code>itemProp</code></dfn> IDL attribute on
<span>HTML elements</span> must <span>reflect</span> the <code
title="attr-itemprop">itemprop</code> content attribute.</p>

<p>The <dfn title="dom-properties"><code>properties</code></dfn> IDL
attribute on <span>HTML elements</span> must return an
Expand Down

0 comments on commit 20cddf7

Please sign in to comment.