- From: poot <cvsmail@w3.org>
- Date: Tue, 10 Aug 2010 07:40:17 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Make HTMLInputElement.files not throw when called at a bogus time. (whatwg r5254) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4181&r2=1.4182&f=h http://html5.org/tools/web-apps-tracker?from=5253&to=5254 =================================================================== 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:45 UTC