html5/spec Overview.html,1.4181,1.4182

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

Modified Files:
	Overview.html 
Log Message:
Make HTMLInputElement.files not throw when called at a bogus time. (whatwg r5254)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4181
retrieving revision 1.4182
diff -u -d -r1.4181 -r1.4182
--- Overview.html	9 Aug 2010 19:11:11 -0000	1.4181
+++ Overview.html	9 Aug 2010 22:36:03 -0000	1.4182
@@ -31368,8 +31368,7 @@
     <p>Returns a <code>FileList</code> object listing the <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a> of
     the form control.</p>
 
-    <p>Throws an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception if the
-    control isn't a file control.</p>
+    <p>Returns null if the control isn't a file control.</p>
 
    </dd>
 
@@ -31489,7 +31488,7 @@
   <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 IDL attribute does not apply, then it must instead
-  throw an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception. <a href="#refsFILEAPI">[FILEAPI]</a></p>
+  return null. <a href="#refsFILEAPI">[FILEAPI]</a></p>
 
   <hr><p>The <dfn id="dom-input-valueasdate" title="dom-input-valueAsDate"><code>valueAsDate</code></dfn> IDL
   attribute represents the <a href="#concept-fe-value" title="concept-fe-value">value</a> of the element, interpreted

Received on Monday, 9 August 2010 22:36:08 UTC