[html5] r3681 - [] (0) Rename subject='' to itemfor=''.

whatwg at whatwg.org whatwg at whatwg.org
Wed Aug 26 15:29:49 PDT 2009


Author: ianh
Date: 2009-08-26 15:29:48 -0700 (Wed, 26 Aug 2009)
New Revision: 3681

Modified:
   index
   source
Log:
[] (0) Rename subject='' to itemfor=''.

Modified: index
===================================================================
--- index	2009-08-26 22:26:32 UTC (rev 3680)
+++ index	2009-08-26 22:29:48 UTC (rev 3681)
@@ -7583,12 +7583,12 @@
    <li><code title=attr-draggable><a href=#the-draggable-attribute>draggable</a></code></li>
    <li><code title=attr-id><a href=#the-id-attribute>id</a></code></li>
    <li><code title=attr-item><a href=#items:-the-item-attribute>item</a></code></li>
+   <li><code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code></li>
+   <li><code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code></li>
    <li><code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code></li>
    <li><code title=attr-lang><a href=#attr-lang>lang</a></code></li>
-   <li><code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code></li>
    <li><code title=attr-spellcheck><a href=#attr-spellcheck>spellcheck</a></code></li>
    <li><code title=attr-style><a href=#the-style-attribute>style</a></code></li>
-   <li><code title=attr-subject><a href=#attr-subject>subject</a></code></li>
    <li><code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code></li>
    <li><code title=attr-title><a href=#the-title-attribute>title</a></code></li>
   </ul><hr><p>Unless otherwise specified, the following <a href=#event-handler-content-attributes>event handler
@@ -42046,7 +42046,7 @@
   <p>Properties don't have to be given as descendants of the element
   with the <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute. They can be
   associated with a specific <a href=#concept-item title=concept-item>item</a>
-  using the <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute, which
+  using the <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code> attribute, which
   takes the ID of the element with the <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute.</p>
 
   <div class=example>
@@ -42055,10 +42055,10 @@
    properties are separated from their <a href=#concept-item title=concept-item>items</a>:</p>
 
    <pre><div item id="amanda"></div>
-<p>Name: <span subject="amanda" itemprop="name">Amanda</span></p>
-<div subject="amanda" itemprop="band" item id="jazzband"></div>
-<p>Band: <span subject="jazzband" itemprop="name">Jazz Band</span></p>
-<p>Size: <span subject="jazzband" itemprop="size">12</span> players</p></pre>
+<p>Name: <span itemfor="amanda" itemprop="name">Amanda</span></p>
+<div itemfor="amanda" itemprop="band" item id="jazzband"></div>
+<p>Band: <span itemfor="jazzband" itemprop="name">Jazz Band</span></p>
+<p>Size: <span itemfor="jazzband" itemprop="size">12</span> players</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
@@ -42463,35 +42463,35 @@
 
   <h4 id=associating-names-with-items><span class=secno>5.2.3 </span>Associating names with items</h4>
 
-  <p>The <dfn id=attr-subject title=attr-subject><code>subject</code></dfn>
+  <p>The <dfn id=attr-itemfor title=attr-itemfor><code>itemfor</code></dfn>
   attribute may be specified on any <a href=#html-elements title="HTML elements">HTML
   element</a> to associate the element with an element with an
-  <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute. If the <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute is specified, the
+  <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute. If the <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code> attribute is specified, the
   attribute's value must be the ID of an element with an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute, in the same
-  <code>Document</code> as the element with the <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute.</p>
+  <code>Document</code> as the element with the <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code> attribute.</p>
 
   <p>An element's <dfn id=concept-item-corresponding title=concept-item-corresponding>corresponding item</dfn> is
-  determined by its position in the DOM and by any <code title=attr-subject><a href=#attr-subject>subject</a></code> attributes on the element, and
+  determined by its position in the DOM and by any <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code> attributes on the element, and
   is defined as follows:</p>
 
-  <dl><dt>If the element has a <code title=attr-subject><a href=#attr-subject>subject</a></code>
+  <dl><dt>If the element has a <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></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><a href=#attr-subject>subject</a></code>
+   the value of the <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code>
    attribute, and if the first such element has an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified, then that
    element is the <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
    item</a>. Otherwise, there is no <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
    item</a>.</dd>
 
-   <dt>If the element has no <code title=attr-subject><a href=#attr-subject>subject</a></code>
+   <dt>If the element has no <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code>
    attribute but does have an ancestor with an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified</dt>
 
    <dd><p>The nearest ancestor element with the <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified is the element's
    <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
    item</a>.</dd>
 
-   <dt>If the element has neither <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute nor an ancestor with
+   <dt>If the element has neither <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code> attribute nor an ancestor with
    an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified</dt>
 
    <dd><p>The element has no <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
@@ -42760,8 +42760,8 @@
    <dd><p>The attribute must act the same as the element's
    <code>textContent</code> attribute.</dd>
 
-  </dl><p>The <dfn id=dom-subject title=dom-subject><code>subject</code></dfn> DOM
-  attribute on elements must <a href=#reflect>reflect</a> the element's <code title=attr-subject><a href=#attr-subject>subject</a></code> content attribute.</p>
+  </dl><p>The <dfn id=dom-subject title=dom-subject><code>itemfor</code></dfn> DOM
+  attribute on elements must <a href=#reflect>reflect</a> the element's <code title=attr-itemfor><a href=#attr-itemfor>itemfor</a></code> content attribute.</p>
 
   </div>
 

Modified: source
===================================================================
--- source	2009-08-26 22:26:32 UTC (rev 3680)
+++ source	2009-08-26 22:29:48 UTC (rev 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><div item id="amanda"></div>
-<p>Name: <span subject="amanda" itemprop="name">Amanda</span></p>
-<div subject="amanda" itemprop="band" item id="jazzband"></div>
-<p>Band: <span subject="jazzband" itemprop="name">Jazz Band</span></p>
-<p>Size: <span subject="jazzband" itemprop="size">12</span> players</p></pre>
+<p>Name: <span itemfor="amanda" itemprop="name">Amanda</span></p>
+<div itemfor="amanda" itemprop="band" item id="jazzband"></div>
+<p>Band: <span itemfor="jazzband" itemprop="name">Jazz Band</span></p>
+<p>Size: <span itemfor="jazzband" itemprop="size">12</span> players</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>
 




More information about the Commit-Watchers mailing list