- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 26 Aug 2009 22:28:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv3813 Modified Files: Overview.html Log Message: Rename subject='' to itemfor=''. (whatwg r3681) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2859 retrieving revision 1.2860 diff -u -d -r1.2859 -r1.2860 --- Overview.html 26 Aug 2009 22:25:01 -0000 1.2859 +++ Overview.html 26 Aug 2009 22:28:17 -0000 1.2860 @@ -6847,12 +6847,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 @@ -15328,7 +15328,7 @@ <legend>The castle through the ages: 1423, 1858, and 1999 respectively.</legend> </figure></pre> - </div><h4 id="the-img-element"><span class="secno">4.8.2 </span>The <dfn><code>img</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/30">ISSUE-30</a> (longdesc) and <a href="http://www.w3.org/html/wg/tracker/issues/66">ISSUE-66</a> (image-analysis) block progress to Last Call</span><dl class="element"><dt>Categories</dt> + </div><h4 id="the-img-element"><span class="secno">4.8.2 </span>The <dfn><code>img</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/66">ISSUE-66</a> (image-analysis) and <a href="http://www.w3.org/html/wg/tracker/issues/30">ISSUE-30</a> (longdesc) block progress to Last Call</span><dl class="element"><dt>Categories</dt> <dd><a href="#flow-content">Flow content</a>.</dd> <dd><a href="#phrasing-content">Phrasing content</a>.</dd> <dd><a href="#embedded-content">Embedded content</a>.</dd> @@ -17582,7 +17582,7 @@ <a href="#reflect">reflect</a> the respective content attributes of the same name.</p> - </div><h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil), <a href="http://www.w3.org/html/wg/tracker/issues/7">ISSUE-7</a> (video-codecs) and <a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-synchronization) block progress to Last Call</span><dl class="element"><dt>Categories</dt> + </div><h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-synchronization), <a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil) and <a href="http://www.w3.org/html/wg/tracker/issues/7">ISSUE-7</a> (video-codecs) block progress to Last Call</span><dl class="element"><dt>Categories</dt> <dd><a href="#flow-content">Flow content</a>.</dd> <dd><a href="#phrasing-content">Phrasing content</a>.</dd> <dd><a href="#embedded-content">Embedded content</a>.</dd> @@ -37660,17 +37660,17 @@ </div><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.<div class="example"> <p>This example is the same as the previous one, but all the 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 @@ -37970,31 +37970,31 @@ </ul><p>The <dfn id="item-type">item type</dfn> of an element with an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute is the value of the element's <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute. If the attribute's value is the empty string, the element is said to have - no <a href="#item-type">item type</a>.<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> + no <a href="#item-type">item type</a>.<h4 id="associating-names-with-items"><span class="secno">5.2.3 </span>Associating names with items</h4><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>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 - is defined as follows:<dl><dt>If the element has a <code title="attr-subject"><a href="#attr-subject">subject</a></code> + <code>Document</code> as the element with the <code title="attr-itemfor"><a href="#attr-itemfor">itemfor</a></code> attribute.<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-itemfor"><a href="#attr-itemfor">itemfor</a></code> attributes on the element, and + is defined as follows:<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 @@ -38231,8 +38231,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><h3 id="predefined-vocabularies-0"><span class="secno">5.4 </span>Predefined vocabularies</h3><p class="XXX annotation"><span><a href="http://www.w3.org/html/wg/tracker/issues/73">ISSUE-73</a> (predefined-voc) blocks progress to Last Call</span><p>A number of <dfn id="predefined-type" title="predefined type">predefined types</dfn> exist, for describing common structures. Each such type has a set of @@ -48384,7 +48384,7 @@ <a href="#source-browsing-context">source browsing context</a>.</p> - <h5 id="hyperlink-auditing"><span class="secno">6.12.2.1 </span><dfn>Hyperlink auditing</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Controversial Working Draft. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/1">ISSUE-1</a> (PINGPOST), <a href="http://www.w3.org/html/wg/tracker/issues/2">ISSUE-2</a> (PINGUI) and <a href="http://www.w3.org/html/wg/tracker/issues/63">ISSUE-63</a> (origin-req-scope) block progress to Last Call</span></p> + <h5 id="hyperlink-auditing"><span class="secno">6.12.2.1 </span><dfn>Hyperlink auditing</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Controversial Working Draft. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/2">ISSUE-2</a> (PINGUI), <a href="http://www.w3.org/html/wg/tracker/issues/63">ISSUE-63</a> (origin-req-scope) and <a href="http://www.w3.org/html/wg/tracker/issues/1">ISSUE-1</a> (PINGPOST) block progress to Last Call</span></p> <p>If an <code><a href="#the-a-element">a</a></code> or <code><a href="#the-area-element">area</a></code> hyperlink element has a <code title="attr-hyperlink-ping"><a href="#ping">ping</a></code> attribute, and the @@ -53437,7 +53437,7 @@ the ranges U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) and U+0061 .. U+007A (LATIN SMALL LETTER A to LATIN SMALL LETTER Z). For convenience, in this section this is just referred to - as "case-insensitive".<h4 id="the-doctype"><span class="secno">9.1.1 </span>The DOCTYPE</h4><p class="XXX annotation"><span><a href="http://www.w3.org/html/wg/tracker/issues/54">ISSUE-54</a> (doctype-legacy-compat) and <a href="http://www.w3.org/html/wg/tracker/issues/4">ISSUE-4</a> (html-versioning) block progress to Last Call</span><p>A <dfn id="syntax-doctype" title="syntax-doctype">DOCTYPE</dfn> is a mostly useless, + as "case-insensitive".<h4 id="the-doctype"><span class="secno">9.1.1 </span>The DOCTYPE</h4><p class="XXX annotation"><span><a href="http://www.w3.org/html/wg/tracker/issues/4">ISSUE-4</a> (html-versioning) and <a href="http://www.w3.org/html/wg/tracker/issues/54">ISSUE-54</a> (doctype-legacy-compat) block progress to Last Call</span><p>A <dfn id="syntax-doctype" title="syntax-doctype">DOCTYPE</dfn> is a mostly useless, but required, header.<p class="note">DOCTYPEs are required for legacy reasons. When omitted, browsers tend to use a different rendering mode that is incompatible with some specifications. Including the DOCTYPE in a
Received on Wednesday, 26 August 2009 22:28:29 UTC