- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 09 Aug 2010 22:36:46 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7991
Modified Files:
common-input-element-attributes.html spec.html
Log Message:
Make HTMLInputElement.files not throw when called at a bogus time. (whatwg r5254)
[updated by splitter]
Index: common-input-element-attributes.html
===================================================================
RCS file: /sources/public/html5/spec/common-input-element-attributes.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- common-input-element-attributes.html 2 Jul 2010 23:06:44 -0000 1.6
+++ common-input-element-attributes.html 9 Aug 2010 22:36:44 -0000 1.7
@@ -911,8 +911,7 @@
<p>Returns a <code>FileList</code> object listing the <a href="number-state.html#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="common-dom-interfaces.html#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>
@@ -1032,7 +1031,7 @@
<code>FileList</code> object that represents the current <a href="number-state.html#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="number-state.html#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="common-dom-interfaces.html#invalid_state_err">INVALID_STATE_ERR</a></code> exception. <a href="references.html#refsFILEAPI">[FILEAPI]</a></p>
+ return null. <a href="references.html#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="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a> of the element, interpreted
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1114
retrieving revision 1.1115
diff -u -d -r1.1114 -r1.1115
--- spec.html 9 Aug 2010 19:17:01 -0000 1.1114
+++ spec.html 9 Aug 2010 22:36:44 -0000 1.1115
@@ -333,7 +333,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">author edition</a>.
-This is revision 1.4181.
+This is revision 1.4182.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Monday, 9 August 2010 22:36:48 UTC