W3C home > Mailing lists > Public > public-html-diffs@w3.org > August 2009

hixie: HTMLInputElement.files should return the same object until the list changes. (bug 7229) (whatwg r3558)

From: poot <cvsmail@w3.org>
Date: Sat, 8 Aug 2009 10:13:14 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090808011315.0764C2BCB5@toro.w3.mag.keio.ac.jp>
hixie: HTMLInputElement.files should return the same object until the
list changes. (bug 7229) (whatwg r3558)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7229

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2750&r2=1.2751&f=h
http://html5.org/tools/web-apps-tracker?from=3557&to=3558

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2750
retrieving revision 1.2751
diff -u -d -r1.2750 -r1.2751
--- Overview.html	8 Aug 2009 00:51:37 -0000	1.2750
+++ Overview.html	8 Aug 2009 01:12:52 -0000	1.2751
@@ -30039,10 +30039,11 @@
 
   <hr><p>The <dfn id="dom-input-files" title="dom-input-files"><code>files</code></dfn> DOM
   attribute allows scripts to access the element's <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>. On
-  getting, if the DOM attribute applies, it must return a new
-  <code>FileList</code> object that represents the current <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>. If
-  the DOM attribute does not apply, then it must instead throw an
-  <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception. <a href="#references">[FILEAPI]</a></p>
+  getting, if the DOM attribute applies, it must return a
+  <code>FileList</code> object that represents the current <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>. The
+  same object must be returned until the list of <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>
+  changes. If the DOM attribute does not apply, then it must instead
+  throw an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception. <a href="#references">[FILEAPI]</a></p>
 
   <hr><p>The <dfn id="dom-input-valueasdate" title="dom-input-valueAsDate"><code>valueAsDate</code></dfn> DOM
   attribute represents the <a href="#concept-fe-value" title="concept-fe-value">value</a> of the element, interpreted
Received on Saturday, 8 August 2009 01:13:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:08 GMT