NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 559 - Rename property='' to itemprop=''.
Rename property='' to itemprop=''.
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:32 CEST by Henri Sivonen
Modified: 2009-05-27 14:44 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:32:30 CEST
Index: source
===================================================================
--- source	(revision 3086)
+++ source	(revision 3087)
@@ -8262,7 +8262,7 @@
 
   // <span>microdata</span>
   [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-item">item</span>;
-  [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-property">property</span>;
+  [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemprop">itemprop</span>;
   readonly attribute <span>HTMLPropertyCollection</span> <span title="dom-properties">properties</span>;
            attribute DOMString <span title="dom-content">content</span>;
            attribute <span>HTMLElement</span> <span title="dom-subject">subject</span>;
@@ -8376,7 +8376,7 @@
    <li><code title="attr-item">item</code></li>
    <li><code title="attr-hidden">hidden</code></li>
    <li><code title="attr-lang">lang</code></li>
-   <li><code title="attr-property">property</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>
@@ -10731,11 +10731,11 @@
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Metadata content</span>.</dd>
-   <dd>If the <code title="attr-property">property</code> attribute is present: <span>flow content</span>.</dd>
+   <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: <span>flow content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>metadata content</span> is expected.</dd>
    <dd>In a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
-   <dd>If the <code title="attr-property">property</code> attribute is present: where <span>flow content</span> is expected.</dd>
+   <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: where <span>flow content</span> is expected.</dd>
    <dt>Content model:</dt>
    <dd>Empty.</dd>
    <dt>Content attributes:</dt>
@@ -11091,13 +11091,13 @@
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Metadata content</span>.</dd>
-   <dd>If the <code title="attr-property">property</code> attribute is present: <span>flow content</span>.</dd>
+   <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: <span>flow content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>If the <code title="attr-meta-charset">charset</code> attribute is present, or if the element is in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>head</code> element.</dd>
    <dd>If the <code title="attr-meta-http-equiv">http-equiv</code> attribute is present, and the element is not in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>head</code> element.</dd>
    <dd>If the <code title="attr-meta-http-equiv">http-equiv</code> attribute is present, and the element is not in the <span title="attr-meta-http-equiv-content-type">Encoding declaration state</span>: in a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
    <dd>If the <code title="attr-meta-name">name</code> attribute is present: where <span>metadata content</span> is expected.</dd>
-   <dd>If the <code title="attr-property">property</code> attribute is present: where <span>flow content</span> is expected.</dd>
+   <dd>If the <code title="attr-itemprop">itemprop</code> attribute is present: where <span>flow content</span> is expected.</dd>
    <dt>Content model:</dt>
    <dd>Empty.</dd>
    <dt>Content attributes:</dt>
@@ -11132,12 +11132,12 @@
   <p>Exactly one of the <code title="attr-meta-name">name</code>,
   <code title="attr-meta-http-equiv">http-equiv</code>, <code
   title="attr-meta-charset">charset</code>, and <code
-  title="attr-property">property</code> attributes must be
+  title="attr-itemprop">itemprop</code> attributes must be
   specified.</p>
 
   <p>If either <code title="attr-meta-name">name</code>, <code
   title="attr-meta-http-equiv">http-equiv</code>, or <code
-  title="attr-property">property</code> is specified, then the <code
+  title="attr-itemprop">itemprop</code> is specified, then the <code
   title="attr-meta-content">content</code> attribute must also be
   specified. Otherwise, it must be omitted.</p>
 
@@ -45832,11 +45832,11 @@
    <p>Here there are two items, each of which have the property "name":</p>
 
    <pre>&lt;div item>
- &lt;p>My name is &lt;span property="name">Elizabeth&lt;/span>.&lt;/p>
+ &lt;p>My name is &lt;span itemprop="name">Elizabeth&lt;/span>.&lt;/p>
 &lt;/div>
 
 &lt;div item>
- &lt;p>My name is &lt;span property="name">Daniel&lt;/span>.&lt;/p>
+ &lt;p>My name is &lt;span itemprop="name">Daniel&lt;/span>.&lt;/p>
 &lt;/div></pre>
 
   </div>
@@ -45848,9 +45848,9 @@
    <p>Here the item has three properties:</p>
 
    <pre>&lt;div item>
- &lt;p>My name is &lt;span property="name">Neil&lt;/span>.&lt;/p>
- &lt;p>My band is called &lt;span property="band">Four Parts Water&lt;/span>.&lt;/p>
- &lt;p>I am &lt;span property="nationality">British&lt;/span>.&lt;/p>
+ &lt;p>My name is &lt;span itemprop="name">Neil&lt;/span>.&lt;/p>
+ &lt;p>My band is called &lt;span itemprop="band">Four Parts Water&lt;/span>.&lt;/p>
+ &lt;p>I am &lt;span itemprop="nationality">British&lt;/span>.&lt;/p>
 &lt;/div></pre>
 
   </div>
@@ -45867,7 +45867,7 @@
    <p>In this example, the item has one property, "image", whose value is a URL:</p>
 
    <pre>&lt;div item>
- &lt;img property="image" src="google-logo.png" alt="Google">
+ &lt;img itemprop="image" src="google-logo.png" alt="Google">
 &lt;/div></pre>
 
   </div>
@@ -45882,7 +45882,7 @@
    value is a date:</p>
 
    <pre>&lt;div item>
- I was born on &lt;time property="birthday" datetime="2009-05-10">May 10th 2009&lt;/time>.
+ I was born on &lt;time itemprop="birthday" datetime="2009-05-10">May 10th 2009&lt;/time>.
 &lt;/div></pre>
 
   </div>
@@ -45900,8 +45900,8 @@
    inner one represents a band:</p>
 
    <pre>&lt;div item>
- &lt;p>Name: &lt;span property="name">Amanda&lt;/span>&lt;/p>
- &lt;p>Band: &lt;span property="band" item> &lt;span property="name">Jazz Band&lt;/span> (&lt;span property="size">12&lt;/span> players)&lt;/span>&lt;/p>
+ &lt;p>Name: &lt;span itemprop="name">Amanda&lt;/span>&lt;/p>
+ &lt;p>Band: &lt;span itemprop="band" item> &lt;span itemprop="name">Jazz Band&lt;/span> (&lt;span itemprop="size">12&lt;/span> players)&lt;/span>&lt;/p>
 &lt;/div></pre>
 
    <p>The outer item here has two properties, "name" and "band". The
@@ -45928,10 +45928,10 @@
    title="concept-item">items</span>:</p>
 
    <pre>&lt;div item id="amanda">&lt;/div>
-&lt;p>Name: &lt;span subject="amanda" property="name">Amanda&lt;/span>&lt;/p>
-&lt;div subject="amanda" property="band" item id="jazzband">&lt;/div>
-&lt;p>Band: &lt;span subject="jazzband" property="name">Jazz Band&lt;/span>&lt;/p>
-&lt;p>Size: &lt;span subject="jazzband" property="size">12&lt;/span> players&lt;/p></pre>
+&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>
 
    <p>This gives the same result as the previous example. The first
    item has two properties, "name", set to "Amanda", and "band", set
@@ -45950,8 +45950,8 @@
    <pre>&lt;div item>
  &lt;p>Flavors in my favorite ice cream:&lt;/p>
  &lt;ul>
-  &lt;li property="flavor">Lemon sorbet&lt;/li>
-  &lt;li property="flavor">Apricot sorbet&lt;/li>
+  &lt;li itemprop="flavor">Lemon sorbet&lt;/li>
+  &lt;li itemprop="flavor">Apricot sorbet&lt;/li>
  &lt;/ul>
 &lt;/div></pre>
 
@@ -45970,7 +45970,7 @@
    "favorite-fruit", both set to the value "orange":</p>
 
    <pre>&lt;div item>
- &lt;span property="favorite-color favorite-fruit">orange&lt;/span>
+ &lt;span itemprop="favorite-color favorite-fruit">orange&lt;/span>
 &lt;/div></pre>
 
   </div>
@@ -46021,10 +46021,10 @@
    <p>Here, the item is "org.example.animals.cat":</p>
 
 <pre>&lt;section item="org.example.animal.cat">
- &lt;h1 property="org.example.name">Hedral&lt;/h1>
- &lt;p property="org.example.desc">Hedral is a male american domestic
+ &lt;h1 itemprop="org.example.name">Hedral&lt;/h1>
+ &lt;p itemprop="org.example.desc">Hedral is a male american domestic
  shorthair, with a fluffy black fur with white paws and belly.&lt;/p>
- &lt;img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ &lt;img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
 &lt;/section></pre>   
 
    <p>In this example the "org.example.animals.cat" item has three
@@ -46041,12 +46041,12 @@
    <p>Here, the item is both an "org.example.animals.cat" and a "com.example.feline":</p>
 
 <pre>&lt;section item="org.example.animal.cat com.example.feline">
- &lt;h1 property="org.example.name com.example.fn">Hedral&lt;/h1>
- &lt;p property="org.example.desc">Hedral is a male american domestic
+ &lt;h1 itemprop="org.example.name com.example.fn">Hedral&lt;/h1>
+ &lt;p itemprop="org.example.desc">Hedral is a male american domestic
  shorthair, with a fluffy &lt;span
- property="com.example.color">black&lt;/span> fur with &lt;span
- property="com.example.color">white&lt;/span> paws and belly.&lt;/p>
- &lt;img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ itemprop="com.example.color">black&lt;/span> fur with &lt;span
+ itemprop="com.example.color">white&lt;/span> paws and belly.&lt;/p>
+ &lt;img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
 &lt;/section></pre>   
 
    <p>This example has one item with two types and the following
@@ -46238,12 +46238,12 @@
    <p>If faced with the following from an earlier example:</p>
 
    <pre>&lt;section item="org.example.animal.cat com.example.feline">
- &lt;h1 property="org.example.name com.example.fn">Hedral&lt;/h1>
- &lt;p property="org.example.desc">Hedral is a male american domestic
+ &lt;h1 itemprop="org.example.name com.example.fn">Hedral&lt;/h1>
+ &lt;p itemprop="org.example.desc">Hedral is a male american domestic
  shorthair, with a fluffy &lt;span
- property="com.example.color">black&lt;/span> fur with &lt;span
- property="com.example.color">white&lt;/span> paws and belly.&lt;/p>
- &lt;img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
+ itemprop="com.example.color">black&lt;/span> fur with &lt;span
+ itemprop="com.example.color">white&lt;/span> paws and belly.&lt;/p>
+ &lt;img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months">
 &lt;/section></pre>
 
    <p>...it would result in the following output:</p>
@@ -46375,18 +46375,18 @@
   the list of <dfn>top-level microdata items</dfn>.</p>
 
 
-  <h4>Names: the <dfn title="attr-property"><code>property</code></dfn> attribute</h4>
+  <h4>Names: the <dfn title="attr-itemprop"><code>itemprop</code></dfn> attribute</h4>
 
   <p>Every <span title="HTML elements">HTML element</span> that has a
   <span title="concept-item-corresponding">corresponding item</span>
-  may have a <code title="attr-property">property</code> attribute
+  may have a <code title="attr-itemprop">itemprop</code> attribute
   specified.</p>
 
-  <p>An element with the <code title="attr-property">property</code>
+  <p>An element with the <code title="attr-itemprop">itemprop</code>
   attribute specified adds one or more name-value pairs to its
   <span title="concept-item-corresponding">corresponding item</span>.</p>
 
-  <p>The <code title="attr-property">property</code> attribute, if
+  <p>The <code title="attr-itemprop">itemprop</code> attribute, if
   specified, must have a value that is an <span>unordered set of
   unique space-separated tokens</span> representing the names of the
   name-value pairs that it adds. The attribute's value must have at
@@ -46415,7 +46415,7 @@
   </ul>
 
   <p>The <dfn>property names</dfn> of an element are the tokens that
-  the element's <code title="attr-property">property</code> attribute
+  the element's <code title="attr-itemprop">itemprop</code> attribute
   is found to contain when its value is <span title="split a string on
   spaces">split on spaces</span>, with the order preserved but with
   duplicates removed (leaving only the first occurrence of each
@@ -46426,7 +46426,7 @@
 
   <p>The <dfn title="concept-property-value">property value</dfn> of a
   name-value pair added by an element with a <code
-  title="attr-property">property</code> attribute depends on the
+  title="attr-itemprop">itemprop</code> attribute depends on the
   element, as follows:</p>
 
   <dl>
@@ -46506,7 +46506,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-property">properties</code></dt>
+   <dt><var title="">element</var> . <code title="dom-properties">properties</code></dt>
 
    <dd>
 
@@ -46543,9 +46543,9 @@
   on elements must <span>reflect</span> the element's <code
   title="attr-item">item</code> content attribute.</p>
 
-  <p>The <dfn title="dom-property"><code>property</code></dfn> DOM
+  <p>The <dfn title="dom-itemprop"><code>itemprop</code></dfn> DOM
   attribute on elements must <span>reflect</span> the element's <code
-  title="attr-property">property</code> content attribute.</p>
+  title="attr-itemprop">itemprop</code> content attribute.</p>
 
   <p>The <dfn title="dom-properties"><code>properties</code></dfn> DOM
   attribute on elements must return an