- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 11 May 2009 23:21:39 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv29622 Modified Files: Overview.html Log Message: Rename property='' to itemprop=''. (whatwg r3087) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2244 retrieving revision 1.2245 diff -u -d -r1.2244 -r1.2245 --- Overview.html 11 May 2009 21:41:46 -0000 1.2244 +++ Overview.html 11 May 2009 23:21:36 -0000 1.2245 @@ -740,7 +740,7 @@ <li><a href="#the-microdata-model"><span class="secno">5.2.1 </span>The microdata model</a></li> <li><a href="#items:-the-item-attribute"><span class="secno">5.2.2 </span>Items: the <code>item</code> attribute</a></li> <li><a href="#associating-names-with-items"><span class="secno">5.2.3 </span>Associating names with items</a></li> - <li><a href="#names:-the-property-attribute"><span class="secno">5.2.4 </span>Names: the <code>property</code> attribute</a></li> + <li><a href="#names:-the-itemprop-attribute"><span class="secno">5.2.4 </span>Names: the <code>itemprop</code> attribute</a></li> <li><a href="#values"><span class="secno">5.2.5 </span>Values</a></ol></li> <li><a href="#microdata-dom-api"><span class="secno">5.3 </span>Microdata DOM API</a></li> <li><a href="#converting-html-to-other-formats"><span class="secno">5.4 </span>Converting HTML to other formats</a> @@ -7287,7 +7287,7 @@ // <a href="#microdata">microdata</a> [PutForwards=<a href="#dom-domsettabletokenlist-value" title="dom-DOMSettableTokenList-value">value</a>] readonly attribute <a href="#domsettabletokenlist-0">DOMSettableTokenList</a> <a href="#dom-item" title="dom-item">item</a>; - [PutForwards=<a href="#dom-domsettabletokenlist-value" title="dom-DOMSettableTokenList-value">value</a>] readonly attribute <a href="#domsettabletokenlist-0">DOMSettableTokenList</a> <a href="#dom-property" title="dom-property">property</a>; + [PutForwards=<a href="#dom-domsettabletokenlist-value" title="dom-DOMSettableTokenList-value">value</a>] readonly attribute <a href="#domsettabletokenlist-0">DOMSettableTokenList</a> <a href="#dom-itemprop" title="dom-itemprop">itemprop</a>; readonly attribute <a href="#htmlpropertycollection-0">HTMLPropertyCollection</a> <a href="#dom-properties" title="dom-properties">properties</a>; attribute DOMString <a href="#dom-content" title="dom-content">content</a>; attribute <a href="#htmlelement">HTMLElement</a> <a href="#dom-subject" title="dom-subject">subject</a>; @@ -7390,7 +7390,7 @@ <li><code title="attr-item"><a href="#items:-the-item-attribute">item</a></code></li> <li><code title="attr-hidden"><a href="#the-hidden-attribute">hidden</a></code></li> <li><code title="attr-lang"><a href="#the-lang-and-xml:lang-attributes">lang</a></code></li> - <li><code title="attr-property"><a href="#names:-the-property-attribute">property</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> @@ -9113,11 +9113,11 @@ </div><h4 id="the-link-element"><span class="secno">4.2.4 </span>The <dfn><code>link</code></dfn> element</h4><dl class="element"><dt>Categories</dt> <dd><a href="#metadata-content-0">Metadata content</a>.</dd> - <dd>If the <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute is present: <a href="#flow-content-0">flow content</a>.</dd> + <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: <a href="#flow-content-0">flow content</a>.</dd> <dt>Contexts in which this element may be used:</dt> <dd>Where <a href="#metadata-content-0">metadata content</a> is expected.</dd> <dd>In a <code><a href="#the-noscript-element">noscript</a></code> element that is a child of a <code><a href="#the-head-element">head</a></code> element.</dd> - <dd>If the <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute is present: where <a href="#flow-content-0">flow content</a> is expected.</dd> + <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: where <a href="#flow-content-0">flow content</a> is expected.</dd> <dt>Content model:</dt> <dd>Empty.</dd> <dt>Content attributes:</dt> @@ -9381,13 +9381,13 @@ always return false and does nothing on setting.</p><!-- that is normatively required in the definition of dom-linkstyle-disabled --><h4 id="meta"><span class="secno">4.2.5 </span>The <dfn><code>meta</code></dfn> element</h4><dl class="element"><dt>Categories</dt> <dd><a href="#metadata-content-0">Metadata content</a>.</dd> - <dd>If the <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute is present: <a href="#flow-content-0">flow content</a>.</dd> + <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: <a href="#flow-content-0">flow content</a>.</dd> <dt>Contexts in which this element may be used:</dt> <dd>If the <code title="attr-meta-charset"><a href="#attr-meta-charset">charset</a></code> attribute is present, or if the element is in the <a href="#attr-meta-http-equiv-content-type" title="attr-meta-http-equiv-content-type">Encoding declaration state</a>: in a <code><a href="#the-head-element">head</a></code> element.</dd> <dd>If the <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code> attribute is present, and the element is not in the <a href="#attr-meta-http-equiv-content-type" title="attr-meta-http-equiv-content-type">Encoding declaration state</a>: in a <code><a href="#the-head-element">head</a></code> element.</dd> <dd>If the <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code> attribute is present, and the element is not in the <a href="#attr-meta-http-equiv-content-type" title="attr-meta-http-equiv-content-type">Encoding declaration state</a>: in a <code><a href="#the-noscript-element">noscript</a></code> element that is a child of a <code><a href="#the-head-element">head</a></code> element.</dd> <dd>If the <code title="attr-meta-name"><a href="#attr-meta-name">name</a></code> attribute is present: where <a href="#metadata-content-0">metadata content</a> is expected.</dd> - <dd>If the <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute is present: where <a href="#flow-content-0">flow content</a> is expected.</dd> + <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: where <a href="#flow-content-0">flow content</a> is expected.</dd> <dt>Content model:</dt> <dd>Empty.</dd> <dt>Content attributes:</dt> @@ -9412,8 +9412,8 @@ file's <a href="#character-encoding-declaration">character encoding declaration</a> when an HTML document is serialized to string form (e.g. for transmission over the network or for disk storage) with the <code title="attr-meta-charset"><a href="#attr-meta-charset">charset</a></code> attribute.<p>Exactly one of the <code title="attr-meta-name"><a href="#attr-meta-name">name</a></code>, - <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code>, <code title="attr-meta-charset"><a href="#attr-meta-charset">charset</a></code>, and <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attributes must be - specified.<p>If either <code title="attr-meta-name"><a href="#attr-meta-name">name</a></code>, <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code>, or <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> is specified, then the <code title="attr-meta-content"><a href="#attr-meta-content">content</a></code> attribute must also be + <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code>, <code title="attr-meta-charset"><a href="#attr-meta-charset">charset</a></code>, and <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attributes must be + specified.<p>If either <code title="attr-meta-name"><a href="#attr-meta-name">name</a></code>, <code title="attr-meta-http-equiv"><a href="#attr-meta-http-equiv">http-equiv</a></code>, or <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> is specified, then the <code title="attr-meta-content"><a href="#attr-meta-content">content</a></code> attribute must also be specified. Otherwise, it must be omitted.<p>The <dfn id="attr-meta-charset" title="attr-meta-charset"><code>charset</code></dfn> attribute specifies the character encoding used by the document. This is a <a href="#character-encoding-declaration">character encoding declaration</a>. If @@ -36237,11 +36237,11 @@ <p>Here there are two items, each of which have the property "name":</p> <pre><div item> - <p>My name is <span property="name">Elizabeth</span>.</p> + <p>My name is <span itemprop="name">Elizabeth</span>.</p> </div> <div item> - <p>My name is <span property="name">Daniel</span>.</p> + <p>My name is <span itemprop="name">Daniel</span>.</p> </div></pre> </div><p>Properties generally have values that are strings.<div class="example"> @@ -36249,9 +36249,9 @@ <p>Here the item has three properties:</p> <pre><div item> - <p>My name is <span property="name">Neil</span>.</p> - <p>My band is called <span property="band">Four Parts Water</span>.</p> - <p>I am <span property="nationality">British</span>.</p> + <p>My name is <span itemprop="name">Neil</span>.</p> + <p>My band is called <span itemprop="band">Four Parts Water</span>.</p> + <p>I am <span itemprop="nationality">British</span>.</p> </div></pre> </div><p>Properties can also have values that are <a href="#url" title="URL">URLs</a>. This is achieved using the <code><a href="#the-a-element">a</a></code> @@ -36262,7 +36262,7 @@ <p>In this example, the item has one property, "image", whose value is a URL:</p> <pre><div item> - <img property="image" src="google-logo.png" alt="Google"> + <img itemprop="image" src="google-logo.png" alt="Google"> </div></pre> </div><p>Properties can also have values that are dates, times, or dates @@ -36273,7 +36273,7 @@ value is a date:</p> <pre><div item> - I was born on <time property="birthday" datetime="2009-05-10">May 10th 2009</time>. + I was born on <time itemprop="birthday" datetime="2009-05-10">May 10th 2009</time>. </div></pre> </div><p>Properties can also themselves be groups of name-value pairs, by @@ -36285,8 +36285,8 @@ inner one represents a band:</p> <pre><div item> - <p>Name: <span property="name">Amanda</span></p> - <p>Band: <span property="band" item> <span property="name">Jazz Band</span> (<span property="size">12</span> players)</span></p> + <p>Name: <span itemprop="name">Amanda</span></p> + <p>Band: <span itemprop="band" item> <span itemprop="name">Jazz Band</span> (<span itemprop="size">12</span> players)</span></p> </div></pre> <p>The outer item here has two properties, "name" and "band". The @@ -36307,10 +36307,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" property="name">Amanda</span></p> -<div subject="amanda" property="band" item id="jazzband"></div> -<p>Band: <span subject="jazzband" property="name">Jazz Band</span></p> -<p>Size: <span subject="jazzband" property="size">12</span> players</p></pre> +<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>This gives the same result as the previous example. The first item has two properties, "name", set to "Amanda", and "band", set @@ -36325,8 +36325,8 @@ <pre><div item> <p>Flavors in my favorite ice cream:</p> <ul> - <li property="flavor">Lemon sorbet</li> - <li property="flavor">Apricot sorbet</li> + <li itemprop="flavor">Lemon sorbet</li> + <li itemprop="flavor">Apricot sorbet</li> </ul> </div></pre> @@ -36341,7 +36341,7 @@ "favorite-fruit", both set to the value "orange":</p> <pre><div item> - <span property="favorite-color favorite-fruit">orange</span> + <span itemprop="favorite-color favorite-fruit">orange</span> </div></pre> </div><h4 id="typed-items"><span class="secno">5.1.2 </span>Typed items</h4><p><em>This section is non-normative.</em><p>The examples in the previous section show how information could @@ -36368,10 +36368,10 @@ <p>Here, the item is "org.example.animals.cat":</p> <pre><section item="org.example.animal.cat"> - <h1 property="org.example.name">Hedral</h1> - <p property="org.example.desc">Hedral is a male american domestic + <h1 itemprop="org.example.name">Hedral</h1> + <p itemprop="org.example.desc">Hedral is a male american domestic shorthair, with a fluffy black fur with white paws and belly.</p> - <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months"> + <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months"> </section></pre> <p>In this example the "org.example.animals.cat" item has three @@ -36384,12 +36384,12 @@ <p>Here, the item is both an "org.example.animals.cat" and a "com.example.feline":</p> <pre><section item="org.example.animal.cat com.example.feline"> - <h1 property="org.example.name com.example.fn">Hedral</h1> - <p property="org.example.desc">Hedral is a male american domestic + <h1 itemprop="org.example.name com.example.fn">Hedral</h1> + <p itemprop="org.example.desc">Hedral is a male american domestic shorthair, with a fluffy <span - property="com.example.color">black</span> fur with <span - property="com.example.color">white</span> paws and belly.</p> - <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months"> + itemprop="com.example.color">black</span> fur with <span + itemprop="com.example.color">white</span> paws and belly.</p> + <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months"> </section></pre> <p>This example has one item with two types and the following @@ -36524,12 +36524,12 @@ <p>If faced with the following from an earlier example:</p> <pre><section item="org.example.animal.cat com.example.feline"> - <h1 property="org.example.name com.example.fn">Hedral</h1> - <p property="org.example.desc">Hedral is a male american domestic + <h1 itemprop="org.example.name com.example.fn">Hedral</h1> + <p itemprop="org.example.desc">Hedral is a male american domestic shorthair, with a fluffy <span - property="com.example.color">black</span> fur with <span - property="com.example.color">white</span> paws and belly.</p> - <img property="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months"> + itemprop="com.example.color">black</span> fur with <span + itemprop="com.example.color">white</span> paws and belly.</p> + <img itemprop="org.example.img" src="hedral.jpeg" alt="" title="Hedral, age 18 months"> </section></pre> <p>...it would result in the following output:</p> @@ -36597,12 +36597,12 @@ item</a>.</dd> </dl><p>The list of elements that create <a href="#concept-item" title="concept-item">items</a> but do not themselves have a <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a> forms - the list of <dfn id="top-level-microdata-items">top-level microdata items</dfn>.<h4 id="names:-the-property-attribute"><span class="secno">5.2.4 </span>Names: the <dfn title="attr-property"><code>property</code></dfn> attribute</h4><p>Every <a href="#html-elements" title="HTML elements">HTML element</a> that has a + the list of <dfn id="top-level-microdata-items">top-level microdata items</dfn>.<h4 id="names:-the-itemprop-attribute"><span class="secno">5.2.4 </span>Names: the <dfn title="attr-itemprop"><code>itemprop</code></dfn> attribute</h4><p>Every <a href="#html-elements" title="HTML elements">HTML element</a> that has a <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a> - may have a <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute - specified.<p>An element with the <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> + may have a <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute + specified.<p>An element with the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute specified adds one or more name-value pairs to its - <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a>.<p>The <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute, if + <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a>.<p>The <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute, if specified, must have a value that is an <a href="#unordered-set-of-unique-space-separated-tokens">unordered set of unique space-separated tokens</a> representing the names of the name-value pairs that it adds. The attribute's value must have at @@ -36623,12 +36623,12 @@ <span>predefined type</span>.</li> --> </ul><p>The <dfn id="property-names">property names</dfn> of an element are the tokens that - the element's <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute + the element's <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is found to contain when its value is <a href="#split-a-string-on-spaces" title="split a string on spaces">split on spaces</a>, with the order preserved but with duplicates removed (leaving only the first occurrence of each name).<h4 id="values"><span class="secno">5.2.5 </span>Values</h4><p>The <dfn id="concept-property-value" title="concept-property-value">property value</dfn> of a - name-value pair added by an element with a <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> attribute depends on the + name-value pair added by an element with a <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute depends on the element, as follows:<dl><dt>If the element also has an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute</dt> @@ -36693,7 +36693,7 @@ </dd> - <dt><var title="">element</var> . <code title="dom-property"><a href="#dom-property">properties</a></code></dt> + <dt><var title="">element</var> . <code title="dom-properties"><a href="#dom-properties">properties</a></code></dt> <dd> @@ -36724,8 +36724,8 @@ <p>The <dfn id="dom-item" title="dom-item"><code>item</code></dfn> DOM attribute on elements must <a href="#reflect">reflect</a> the element's <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> content attribute.</p> - <p>The <dfn id="dom-property" title="dom-property"><code>property</code></dfn> DOM - attribute on elements must <a href="#reflect">reflect</a> the element's <code title="attr-property"><a href="#names:-the-property-attribute">property</a></code> content attribute.</p> + <p>The <dfn id="dom-itemprop" title="dom-itemprop"><code>itemprop</code></dfn> DOM + attribute on elements must <a href="#reflect">reflect</a> the element's <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> DOM attribute on elements must return an
Received on Monday, 11 May 2009 23:21:50 UTC