- From: poot <cvsmail@w3.org>
- Date: Fri, 2 Apr 2010 15:28:05 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: mention that <option name> is obsolete (whatwg r4954) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3975&r2=1.3976&f=h http://html5.org/tools/web-apps-tracker?from=4953&to=4954 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3975 retrieving revision 1.3976 diff -u -d -r1.3975 -r1.3976 --- Overview.html 2 Apr 2010 06:22:55 -0000 1.3975 +++ Overview.html 2 Apr 2010 06:26:50 -0000 1.3976 @@ -5886,7 +5886,7 @@ <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> - <p>Returns the item with <a href="#concept-id" title="concept-id">ID</a> or <code title="attr-option-name">name</code> <var title="">name</var> from the collection.</p> + <p>Returns the item with <a href="#concept-id" title="concept-id">ID</a> or <code title="attr-option-name"><a href="#attr-option-name">name</a></code> <var title="">name</var> from the collection.</p> <p>If there are multiple matching items, then a <code><a href="#nodelist">NodeList</a></code> object containing all those elements is returned.</p> <p>Returns null if no element with that <a href="#concept-id" title="concept-id">ID</a> could be found.</p> </dd> @@ -5938,25 +5938,25 @@ remove children from them).</p> <p>The <span>names of the supported named properties</span> consist - of the values of all the <code title="attr-id"><a href="#the-id-attribute">id</a></code> and <code title="attr-option-name">name</code> attributes of all the elements + of the values of all the <code title="attr-id"><a href="#the-id-attribute">id</a></code> and <code title="attr-option-name"><a href="#attr-option-name">name</a></code> attributes of all the elements <a href="#represented-by-the-collection">represented by the collection</a>.</p> <p>The <dfn id="dom-htmloptionscollection-nameditem" title="dom-HTMLOptionsCollection-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method must act according to the following algorithm:</p> <ol><li>If, at the time the method is called, there is exactly one node - in the collection that has either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name">name</code> attribute equal to <var title="">name</var>, then return that node and stop the + in the collection that has either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name"><a href="#attr-option-name">name</a></code> attribute equal to <var title="">name</var>, then return that node and stop the algorithm.</li> <li>Otherwise, if there are no nodes in the collection that have - either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name">name</code> attribute equal to <var title="">name</var>, then return null and stop the algorithm.</li> + either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name"><a href="#attr-option-name">name</a></code> attribute equal to <var title="">name</var>, then return null and stop the algorithm.</li> <!-- IE returns an HTMLCollection instead; we may need to change to that for compat --> <li>Otherwise, create a new <code><a href="#nodelist">NodeList</a></code> object representing a <a href="#live">live</a> view of the <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code> object, further filtered so that the only nodes in the <code><a href="#nodelist">NodeList</a></code> object are those that - have either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name">name</code> attribute equal to <var title="">name</var>. The nodes in the <code><a href="#nodelist">NodeList</a></code> object + have either an <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute or a <code title="attr-option-name"><a href="#attr-option-name">name</a></code> attribute equal to <var title="">name</var>. The nodes in the <code><a href="#nodelist">NodeList</a></code> object must be sorted in <a href="#tree-order">tree order</a>.</li> <li>Return that <code><a href="#nodelist">NodeList</a></code> object.</li> @@ -31301,7 +31301,7 @@ <dt><var title="">select</var>[<var title="">name</var>]</dt> <dt><var title="">select</var>(<var title="">name</var>)</dt> <dd> - <p>Returns the item with ID or <code title="attr-option-name">name</code> <var title="">name</var> from the <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a>.</p> + <p>Returns the item with ID or <code title="attr-option-name"><a href="#attr-option-name">name</a></code> <var title="">name</var> from the <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a>.</p> <p>If there are multiple matching items, then a <code><a href="#nodelist">NodeList</a></code> object containing all those elements is returned.</p> <p>Returns null if no element with that ID could be found.</p> </dd> @@ -62346,6 +62346,7 @@ <dt><dfn id="attr-a-name" title="attr-a-name"><code>name</code></dfn> on <code><a href="#the-a-element">a</a></code> elements (except as noted in the previous section)</dt> <dt><dfn id="attr-embed-name" title="attr-embed-name"><code>name</code></dfn> on <code><a href="#the-embed-element">embed</a></code> elements</dt> <dt><dfn id="attr-img-name" title="attr-img-name"><code>name</code></dfn> on <code><a href="#the-img-element">img</a></code> elements</dt> + <dt><dfn id="attr-option-name" title="attr-option-name"><code>name</code></dfn> on <code><a href="#the-option-element">option</a></code> elements</dt> <dd><p>Use the <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute instead.</dd> <dt><dfn id="attr-a-rev" title="attr-a-rev"><code>rev</code></dfn> on <code><a href="#the-a-element">a</a></code> elements</dt>
Received on Friday, 2 April 2010 06:28:37 UTC