W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2009

html5/spec Overview.html,1.2502,1.2503

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 08 Jul 2009 00:37:21 +0000
To: public-html-commits@w3.org
Message-Id: <E1MOLA1-0005I7-Ej@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20325

Modified Files:
	Overview.html 
Log Message:
Simplify getElementsByName() for compatibility reasons. (whatwg r3371)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2502
retrieving revision 1.2503
diff -u -d -r1.2502 -r1.2503
--- Overview.html	7 Jul 2009 23:21:35 -0000	1.2502
+++ Overview.html	8 Jul 2009 00:37:18 -0000	1.2503
@@ -6219,12 +6219,7 @@
 
   <hr></div><dl class="domintro"><dt><var title="">collection</var> = <var title="">document</var> . <code title="dom-document-getElementsByName"><a href="#dom-document-getelementsbyname">getElementsByName</a></code>(<var title="">name</var>)</dt>
    <dd>
-    <p>Returns a <code>NodeList</code> of <code><a href="#the-a-element">a</a></code>,
-    <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-button-element">button</a></code>, <code><a href="#the-form-element">form</a></code>,
-    <code><a href="#frame">frame</a></code>, <code><a href="#frameset">frameset</a></code>, <code><a href="#the-iframe-element">iframe</a></code>,
-    <code><a href="#the-img-element">img</a></code>, <code><a href="#the-input-element">input</a></code>, <code><a href="#the-map-element">map</a></code>,
-    <code><a href="#meta">meta</a></code>, <code><a href="#the-object-element">object</a></code>, <!-- not param, per IE8
-    --> <code><a href="#the-select-element">select</a></code>, and <code><a href="#the-textarea-element">textarea</a></code> elements in the
+    <p>Returns a <code>NodeList</code> of elements in the
     <code>Document</code> that have a <code title="">name</code>
     attribute with the value <var title="">name</var>.</p>
    </dd>
@@ -6242,14 +6237,9 @@
   </dl><div class="impl">
 
   <p>The <dfn id="dom-document-getelementsbyname" title="dom-document-getElementsByName"><code>getElementsByName(<var title="">name</var>)</code></dfn> method takes a string <var title="">name</var>, and must return a live <code>NodeList</code>
-  containing all the <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>,
-  <code><a href="#the-button-element">button</a></code>, <code><a href="#the-form-element">form</a></code>, <code><a href="#frame">frame</a></code>,
-  <code><a href="#frameset">frameset</a></code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>,
-  <code><a href="#the-input-element">input</a></code>, <code><a href="#the-map-element">map</a></code>, <code><a href="#meta">meta</a></code>,
-  <code><a href="#the-object-element">object</a></code>, <!-- not param, per IE8 -->
-  <code><a href="#the-select-element">select</a></code>, and <code><a href="#the-textarea-element">textarea</a></code> elements in that
-  document that have a <code title="">name</code> attribute whose
-  value is equal to the <var title="">name</var> argument (in a
+  containing all the <a href="#html-elements">HTML elements</a> in that document that
+  have a <code title="">name</code> attribute whose value is equal to
+  the <var title="">name</var> argument (in a
   <a href="#case-sensitive">case-sensitive</a> manner), in <a href="#tree-order">tree order</a>.</p>
 
   <p>The <dfn id="dom-document-getelementsbyclassname" title="dom-document-getElementsByClassName"><code>getElementsByClassName(<var title="">classNames</var>)</code></dfn> method takes a string that
Received on Wednesday, 8 July 2009 00:37:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 July 2009 00:37:30 GMT