[html5] r4954 - [e] (0) mention that <option name> is obsolete Fixing http://www.w3.org/Bugs/Pub [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 1 23:26:47 PDT 2010


Author: ianh
Date: 2010-04-01 23:26:46 -0700 (Thu, 01 Apr 2010)
New Revision: 4954

Modified:
   complete.html
   index
   source
Log:
[e] (0) mention that <option name> is obsolete
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9346

Modified: complete.html
===================================================================
--- complete.html	2010-04-02 06:24:07 UTC (rev 4953)
+++ complete.html	2010-04-02 06:26:46 UTC (rev 4954)
@@ -6744,7 +6744,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>
@@ -6796,25 +6796,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>
@@ -38704,7 +38704,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>
@@ -84237,6 +84237,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>

Modified: index
===================================================================
--- index	2010-04-02 06:24:07 UTC (rev 4953)
+++ index	2010-04-02 06:26:46 UTC (rev 4954)
@@ -6642,7 +6642,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>
@@ -6694,25 +6694,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>
@@ -38605,7 +38605,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>
@@ -77509,6 +77509,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>

Modified: source
===================================================================
--- source	2010-04-02 06:24:07 UTC (rev 4953)
+++ source	2010-04-02 06:26:46 UTC (rev 4954)
@@ -95929,6 +95929,7 @@
    <dt><dfn title="attr-a-name"><code>name</code></dfn> on <code>a</code> elements (except as noted in the previous section)</dt>
    <dt><dfn title="attr-embed-name"><code>name</code></dfn> on <code>embed</code> elements</dt>
    <dt><dfn title="attr-img-name"><code>name</code></dfn> on <code>img</code> elements</dt>
+   <dt><dfn title="attr-option-name"><code>name</code></dfn> on <code>option</code> elements</dt>
    <dd><p>Use the <code title="attr-id">id</code> attribute instead.</p></dd>
 
    <dt><dfn title="attr-a-rev"><code>rev</code></dfn> on <code>a</code> elements</dt>




More information about the Commit-Watchers mailing list