html5/spec Overview.html,1.3038,1.3039

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv1878

Modified Files:
	Overview.html 
Log Message:
Allow <input type=file> to be reset by setting value to ''. (whatwg r3874)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3038
retrieving revision 1.3039
diff -u -d -r1.3038 -r1.3039
--- Overview.html	16 Sep 2009 09:35:22 -0000	1.3038
+++ Overview.html	16 Sep 2009 09:45:23 -0000	1.3039
@@ -31511,8 +31511,10 @@
 
    <dd>On getting, it must return the string "<code title="">C:\fakepath\</code>" followed by the filename of the first
    file in the list of <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>, if
-   any, or the empty string if the list is empty. On setting, it must
-   throw an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception.</dd>
+   any, or the empty string if the list is empty. On setting, if the
+   new value is the empty string, it must empty the list of <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a>;
+   otherwise, it must throw an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code>
+   exception.</dd>
 
   </dl><hr><p>The <dfn id="dom-input-checked" title="dom-input-checked"><code>checked</code></dfn> IDL
   attribute allows scripts to manipulate the <a href="#concept-fe-checked" title="concept-fe-checked">checkedness</a> of an

Received on Wednesday, 16 September 2009 09:45:35 UTC