W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2010

html5/spec Overview.html,1.4499,1.4500

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 14 Oct 2010 08:26:47 +0000
To: public-html-commits@w3.org
Message-Id: <E1P6J9D-0005Wa-6O@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21220

Modified Files:
	Overview.html 
Log Message:
remove form.item() and form.namedItem() since 2/3 browsers I tested don't have it and removing them seems like a win. (whatwg r5624)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4499
retrieving revision 1.4500
diff -u -d -r1.4499 -r1.4500
--- Overview.html	14 Oct 2010 08:09:05 -0000	1.4499
+++ Overview.html	14 Oct 2010 08:26:43 -0000	1.4500
@@ -27307,8 +27307,8 @@
 
   readonly attribute <a href="#htmlformcontrolscollection">HTMLFormControlsCollection</a> <a href="#dom-form-elements" title="dom-form-elements">elements</a>;
   readonly attribute long <a href="#dom-form-length" title="dom-form-length">length</a>;
-  caller getter any <a href="#dom-form-item" title="dom-form-item">item</a>(in unsigned long index);
-  caller getter any <a href="#dom-form-nameditem" title="dom-form-namedItem">namedItem</a>(in DOMString name);
+  caller <a href="#dom-form-item" title="dom-form-item">getter</a> any (in unsigned long index);
+  caller <a href="#dom-form-nameditem" title="dom-form-namedItem">getter</a> any (in DOMString name);
 
   void <a href="#dom-form-submit" title="dom-form-submit">submit</a>();
   void <a href="#dom-form-reset" title="dom-form-reset">reset</a>();
@@ -27362,7 +27362,6 @@
 
    </dd>
 
-   <dt><var title="">element</var> = <var title="">form</var> . <code title="dom-form-item"><a href="#dom-form-item">item</a></code>(<var title="">index</var>)</dt>
    <dt><var title="">form</var>[<var title="">index</var>]</dt>
    <dt><var title="">form</var>(<var title="">index</var>)</dt>
 
@@ -27373,7 +27372,6 @@
 
    </dd>
 
-   <dt><var title="">element</var> = <var title="">form</var> . <code title="dom-form-namedItem"><a href="#dom-form-nameditem">namedItem</a></code>(<var title="">name</var>)</dt>
    <dt><var title="">form</var>[<var title="">name</var>]</dt>
    <dt><var title="">form</var>(<var title="">name</var>)</dt>
 
@@ -27466,9 +27464,10 @@
   the indices supported by the object returned by the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute at that
   instant.</p>
 
-  <p>The <dfn id="dom-form-item" title="dom-form-item"><code>item(<var title="">index</var>)</code></dfn> method must return the value
-  returned by the method of the same name on the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> collection, when invoked
-  with the same argument.</p>
+  <p>When a <code><a href="#the-form-element">form</a></code> element is <dfn id="dom-form-item" title="dom-form-item">indexed for indexed property retrieval</dfn>,
+  the user agent must return the value returned by the <code title="dom-HTMLFormControlsCollection-item">item</code> method on
+  the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> collection, when
+  invoked with the given index as its argument.</p>
 
   <p>Each <code><a href="#the-form-element">form</a></code> element has a mapping of names to elements
   called the <dfn id="past-names-map">past names map</dfn>. It is used to persist names of
@@ -27478,8 +27477,8 @@
   names currently supported by the object returned by the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute, and the names
   currently in the <a href="#past-names-map">past names map</a>.</p>
 
-  <p>The <dfn id="dom-form-nameditem" title="dom-form-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method, when called, must run the
-  following steps:</p>
+  <p>When a <code><a href="#the-form-element">form</a></code> element is <dfn id="dom-form-nameditem" title="dom-form-namedItem">indexed for named property
+  retrieval</dfn>, the user agent must run the following steps:</p>
 
   <ol><li>
 
Received on Thursday, 14 October 2010 08:26:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 October 2010 08:26:49 GMT