HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/3681

SVNBugCommentTime (UTC)
3681Rename subject='' to itemfor=''.2009-08-26 22:29
Index: source
===================================================================
--- source	(revision 3680)
+++ source	(revision 3681)
@@ -7688,12 +7688,12 @@
    <li><code title="attr-draggable">draggable</code></li>
    <li><code title="attr-id">id</code></li>
    <li><code title="attr-item">item</code></li>
+   <li><code title="attr-itemfor">itemfor</code></li>
+   <li><code title="attr-itemprop">itemprop</code></li>
    <li><code title="attr-hidden">hidden</code></li>
    <li><code title="attr-lang">lang</code></li>
-   <li><code title="attr-itemprop">itemprop</code></li>
    <li><code title="attr-spellcheck">spellcheck</code></li>
    <li><code title="attr-style">style</code></li>
-   <li><code title="attr-subject">subject</code></li>
    <li><code title="attr-tabindex">tabindex</code></li>
    <li><code title="attr-title">title</code></li>
   </ul>
@@ -47079,7 +47079,7 @@
   <p>Properties don't have to be given as descendants of the element
   with the <code title="attr-item">item</code> attribute. They can be
   associated with a specific <span title="concept-item">item</span>
-  using the <code title="attr-subject">subject</code> attribute, which
+  using the <code title="attr-itemfor">itemfor</code> attribute, which
   takes the ID of the element with the <code
   title="attr-item">item</code> attribute.</p>
 
@@ -47090,10 +47090,10 @@
    title="concept-item">items</span>:</p>
 
    <pre>&lt;div item id="amanda">&lt;/div>
-&lt;p>Name: &lt;span subject="amanda" itemprop="name">Amanda&lt;/span>&lt;/p>
-&lt;div subject="amanda" itemprop="band" item id="jazzband">&lt;/div>
-&lt;p>Band: &lt;span subject="jazzband" itemprop="name">Jazz Band&lt;/span>&lt;/p>
-&lt;p>Size: &lt;span subject="jazzband" itemprop="size">12&lt;/span> players&lt;/p></pre>
+&lt;p>Name: &lt;span itemfor="amanda" itemprop="name">Amanda&lt;/span>&lt;/p>
+&lt;div itemfor="amanda" itemprop="band" item id="jazzband">&lt;/div>
+&lt;p>Band: &lt;span itemfor="jazzband" itemprop="name">Jazz Band&lt;/span>&lt;/p>
+&lt;p>Size: &lt;span itemfor="jazzband" itemprop="size">12&lt;/span> players&lt;/p></pre>
 
    <p>This gives the same result as the previous example. The first
    item has two properties, "name", set to "Amanda", and "band", set
@@ -47539,29 +47539,29 @@
 
   <h4>Associating names with items</h4>
 
-  <p>The <dfn title="attr-subject"><code>subject</code></dfn>
+  <p>The <dfn title="attr-itemfor"><code>itemfor</code></dfn>
   attribute may be specified on any <span title="HTML elements">HTML
   element</span> to associate the element with an element with an
   <code title="attr-item">item</code> attribute. If the <code
-  title="attr-subject">subject</code> attribute is specified, the
+  title="attr-itemfor">itemfor</code> attribute is specified, the
   attribute's value must be the ID of an element with an <code
   title="attr-item">item</code> attribute, in the same
   <code>Document</code> as the element with the <code
-  title="attr-subject">subject</code> attribute.</p>
+  title="attr-itemfor">itemfor</code> attribute.</p>
 
   <p>An element's <dfn
   title="concept-item-corresponding">corresponding item</dfn> is
   determined by its position in the DOM and by any <code
-  title="attr-subject">subject</code> attributes on the element, and
+  title="attr-itemfor">itemfor</code> attributes on the element, and
   is defined as follows:</p>
 
   <dl>
 
-   <dt>If the element has a <code title="attr-subject">subject</code>
+   <dt>If the element has a <code title="attr-itemfor">itemfor</code>
    attribute</dt>
 
    <dd><p>If there is an element in the document with an ID equal to
-   the value of the <code title="attr-subject">subject</code>
+   the value of the <code title="attr-itemfor">itemfor</code>
    attribute, and if the first such element has an <code
    title="attr-item">item</code> attribute specified, then that
    element is the <span
@@ -47570,7 +47570,7 @@
    title="concept-item-corresponding">corresponding
    item</span>.</p></dd>
 
-   <dt>If the element has no <code title="attr-subject">subject</code>
+   <dt>If the element has no <code title="attr-itemfor">itemfor</code>
    attribute but does have an ancestor with an <code
    title="attr-item">item</code> attribute specified</dt>
 
@@ -47580,7 +47580,7 @@
    item</span>.</p></dd>
 
    <dt>If the element has neither <code
-   title="attr-subject">subject</code> attribute nor an ancestor with
+   title="attr-itemfor">itemfor</code> attribute nor an ancestor with
    an <code title="attr-item">item</code> attribute specified</dt>
 
    <dd><p>The element has no <span
@@ -47894,9 +47894,9 @@
 
   </dl> 
 
-  <p>The <dfn title="dom-subject"><code>subject</code></dfn> DOM
+  <p>The <dfn title="dom-subject"><code>itemfor</code></dfn> DOM
   attribute on elements must <span>reflect</span> the element's <code
-  title="attr-subject">subject</code> content attribute.</p>
+  title="attr-itemfor">itemfor</code> content attribute.</p>
 
   </div>
 

|