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

html5/spec Overview.html,1.2750,1.2751

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 08 Aug 2009 01:12:55 +0000
To: public-html-commits@w3.org
Message-Id: <E1MZaUR-0002Ab-AT@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv8327

Modified Files:
	Overview.html 
Log Message:
HTMLInputElement.files should return the same object until the list changes. (bug 7229) (whatwg r3558)

Index: Overview.html
===================================================================
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:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 8 August 2009 01:13:05 GMT