HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3544[Gecko] [Internet Explorer] [Opera] [Webkit] input.files support2009-08-05 23:56
@@ -32596,20 +32596,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <dd>
 <pre class="idl">interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-input-accept">accept</span>;
            attribute DOMString <span title="dom-input-alt">alt</span>;
            attribute boolean <span title="dom-input-autocomplete">autocomplete</span>;
            attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
            attribute boolean <span title="dom-input-defaultChecked">defaultChecked</span>;
            attribute boolean <span title="dom-input-checked">checked</span>;
            attribute boolean <span title="dom-fe-disabled">disabled</span>;
   readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
+           attribute <span>FileList</span> <span title="dom-input-files">files</span>;
            attribute DOMString <span title="dom-fs-formAction">formAction</span>;
            attribute DOMString <span title="dom-fs-formEnctype">formEnctype</span>;
            attribute DOMString <span title="dom-fs-formMethod">formMethod</span>;
            attribute boolean <span title="dom-fs-formNoValidate">formNoValidate</span>;
            attribute DOMString <span title="dom-fs-formTarget">formTarget</span>;
            attribute DOMString <span title="dom-dim-height">height</span>;
            attribute boolean <span title="dom-input-indeterminate">indeterminate</span>;
   readonly attribute <span>HTMLElement</span> <span title="dom-input-list">list</span>;
            attribute DOMString <span title="dom-input-max">max</span>;
            attribute unsigned long <span title="dom-input-maxLength">maxLength</span>;
@@ -32806,20 +32807,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
   title="attr-input-pattern">pattern</code>, <code
   title="attr-input-readonly">readonly</code>, <code
   title="attr-input-required">required</code>, <code
   title="attr-input-size">size</code>, <code
   title="attr-input-src">src</code>, <code
   title="attr-input-step">step</code>, and <code
   title="attr-dim-width">width</code> attributes apply to an
   <code>input</code> element depends on the state of its <code
   title="attr-input-type">type</code> attribute. Similarly, the <code
   title="dom-input-checked">checked</code>, <code
+  title="dom-input-files">files</code>, <code
   title="dom-input-valueAsDate">valueAsDate</code>, <code
   title="dom-input-valueAsNumber">valueAsNumber</code>, <code
   title="dom-input-list">list</code>, and <code
   title="dom-input-selectedOption">selectedOption</code> DOM
   attributes, and the <code title="dom-input-stepUp">stepUp()</code>
   and <code title="dom-input-stepDown">stepDown()</code> methods, are
   specific to certain states. The following table <span
   class="impl">is non-normative and</span> summarises which content
   attributes, DOM attributes, and methods apply to each state:</p>
 
@@ -33447,20 +33449,45 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
      <td class="no"> &middot; <!-- Range -->
      <td class="no"> &middot; <!-- Color -->
      <td class="yes"> Yes     <!-- Checkbox -->
 <!-- <td class="yes"> Yes          Radio Button -->
      <td class="no"> &middot; <!-- File Upload -->
      <td class="no"> &middot; <!-- Submit Button -->
      <td class="no"> &middot; <!-- Image Button -->
      <td class="no"> &middot; <!-- Reset Button -->
 <!-- <td class="no"> &middot;      Button -->
 
+    <tr>
+     <th> <code title="dom-input-files">files</code>
+     <td class="no"> &middot; <!-- Hidden -->
+     <td class="no"> &middot; <!-- Text -->
+<!-- <td class="no"> &middot;      Search -->
+<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- E-mail -->
+     <td class="no"> &middot; <!-- Password -->
+     <td class="no"> &middot; <!-- Date and Time -->
+<!-- <td class="no"> &middot;      Date -->
+<!-- <td class="no"> &middot;      Month -->
+<!-- <td class="no"> &middot;      Week -->
+<!-- <td class="no"> &middot;      Time -->
+     <td class="no"> &middot; <!-- Local Date and Time -->
+<!-- <td class="no"> &middot;      Number -->
+     <td class="no"> &middot; <!-- Range -->
+     <td class="no"> &middot; <!-- Color -->
+     <td class="no"> &middot; <!-- Checkbox -->
+<!-- <td class="no"> &middot;      Radio Button -->
+     <td class="yes"> Yes     <!-- File Upload -->
+     <td class="no"> &middot; <!-- Submit Button -->
+     <td class="no"> &middot; <!-- Image Button -->
+     <td class="no"> &middot; <!-- Reset Button -->
+<!-- <td class="no"> &middot;      Button -->
+
     <tr class="impl">
      <th> <code title="dom-input-value">value</code>
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Hidden -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Text -->
 <!-- <td class="yes"> <span title="dom-input-value-value">value</span>      Search -->
 <!-- <td class="yes"> <span title="dom-input-value-value">value</span>      URL -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- E-mail -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Password -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Date and Time -->
 <!-- <td class="yes"> <span title="dom-input-value-value">value</span>      Date -->
@@ -33770,21 +33797,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
      <td class="yes"> Yes     <!-- Local Date and Time -->
 <!-- <td class="yes"> Yes          Number -->
      <td class="yes"> Yes     <!-- Range -->
      <td class="yes"> Yes     <!-- Color -->
      <td class="yes"> Yes     <!-- Checkbox -->
 <!-- <td class="yes"> Yes          Radio Button -->
      <td class="yes"> Yes     <!-- File Upload -->
      <td class="no"> &middot; <!-- Submit Button -->
      <td class="no"> &middot; <!-- Image Button -->
      <td class="no"> &middot; <!-- Reset Button -->
-<!-- <td class="no"> &middot; Button -->
+<!-- <td class="no"> &middot;      Button -->
 
   </table>
 
   <div class="impl">
 
   <p>When an <code>input</code> element's <code
   title="attr-input-type">type</code> attribute changes state, and
   when the element is first created, the element's rendering and
   behavior must change to the new state's accordingly and the
   <dfn>value sanitization algorithm</dfn>, if one is defined for the
@@ -34048,20 +34075,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -34154,20 +34182,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-max">max</code>,
    <code class="no-backref" title="attr-input-min">min</code>,
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-tel">Telephone</dfn> state</h6>
 
@@ -34260,20 +34289,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-max">max</code>,
    <code class="no-backref" title="attr-input-min">min</code>,
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-url">URL</dfn> state</h6>
 
@@ -34367,20 +34397,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-max">max</code>,
    <code class="no-backref" title="attr-input-min">min</code>,
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-email">E-mail</dfn> state</h6>
 
@@ -34499,20 +34530,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-dim-height">height</code>,
    <code class="no-backref" title="attr-input-max">max</code>,
    <code class="no-backref" title="attr-input-min">min</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-password">Password</dfn> state</h6>
 
@@ -34562,20 +34594,23 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code title="attr-input-placeholder">placeholder</code>,
    <code title="attr-input-readonly">readonly</code>,
    <code title="attr-input-required">required</code>, and
    <code title="attr-input-size">size</code> content attributes;
    <code title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code title="dom-textarea/input-selectionEnd">selectionEnd</code>, and
    <code title="dom-input-value">value</code> DOM attributes;
    <code title="dom-textarea/input-select">select()</code>, and
    <code title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
+   <p>The <code title="dom-input-value">value</code> DOM attribute is
+   in mode <span title="dom-input-value-value">value</span>.</p>
+
    <p>The <code title="event-input-input">input</code> and <code
    title="event-input-change">change</code> events apply.</p>
 
    <p>The following content attributes must not be specified and do not
    apply to the element:
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
@@ -34587,20 +34622,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-max">max</code>,
    <code class="no-backref" title="attr-input-min">min</code>,
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
 
   </div>
 
 
@@ -34767,20 +34803,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>, and
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-date">Date</dfn> state</h6>
 
@@ -35100,20 +35137,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>, and
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-week">Week</dfn> state</h6>
 
@@ -35267,20 +35305,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>, and
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-time">Time</dfn> state</h6>
 
@@ -35429,20 +35468,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>, and
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-datetime-local">Local Date and Time</dfn> state</h6>
 
@@ -35579,20 +35619,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>, and
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-number">Number</dfn> state</h6>
@@ -35718,20 +35759,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-multiple">multiple</code>,
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>, and
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-range">Range</dfn> state</h6>
@@ -35900,20 +35942,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>, and
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code> and
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
   </div>
 
 
   <h6><dfn title="attr-input-type-color">Color</dfn> state</h6>
@@ -36003,20 +36046,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
 
   </div>
@@ -36125,20 +36169,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -36281,20 +36326,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-pattern">pattern</code>,
    <code class="no-backref" title="attr-input-placeholder">placeholder</code>,
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -36390,23 +36436,28 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
   not accepted by one (or more) of these tokens.</p>
 
   </div>
 
   <hr>
 
   <div class="bookkeeping impl">
 
    <p>The following common <code>input</code> element content
    attributes apply to the element:
+
+   <p>The following common <code>input</code> element content
+   attributes and DOM attributes apply to the element:
    <code title="attr-input-accept">accept</code>,
    <code title="attr-input-multiple">multiple</code>, and
-   <code title="attr-input-required">required</code>.</p>
+   <code title="attr-input-required">required</code>;
+   <code title="dom-input-files">files</code> and
+   <code title="dom-input-value">value</code> DOM attributes.</p>
 
    <p>The <code title="dom-input-value">value</code> DOM attribute is
    in mode <span title="dom-input-value-filename">filename</span>.</p>
 
    <p>The <code title="event-input-change">change</code> event applies.</p>
 
    <p>The following content attributes must not be specified and do not
    apply to the element:
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
@@ -36529,20 +36580,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -36770,20 +36822,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>, and
    <code class="no-backref" title="attr-input-step">step</code>.</p>
 
    <p>The element's <code title="attr-input-value">value</code>
    attribute must be omitted.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -36863,20 +36916,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -36945,20 +36999,21 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
    <code class="no-backref" title="attr-input-readonly">readonly</code>,
    <code class="no-backref" title="attr-input-required">required</code>,
    <code class="no-backref" title="attr-input-size">size</code>,
    <code class="no-backref" title="attr-input-src">src</code>,
    <code class="no-backref" title="attr-input-step">step</code>, and
    <code class="no-backref" title="attr-dim-width">width</code>.</p>
 
    <p>The following DOM attributes and methods do not apply to the
    element:
    <code class="no-backref" title="dom-input-checked">checked</code>,
+   <code class="no-backref" title="dom-input-files">files</code>,
    <code class="no-backref" title="dom-input-list">list</code>,
    <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
    <code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
    <code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
    <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
    <code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> DOM attributes;
    <code class="no-backref" title="dom-textarea/input-select">select()</code>,
    <code class="no-backref" title="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" title="dom-input-stepDown">stepDown()</code>, and
    <code class="no-backref" title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -37677,20 +37732,32 @@ You cannot complete this form until the field is correct.</samp></pre>
   <code>input</code> element. On getting, it must return the current
   <span title="concept-fe-checked">checkedness</span> of the element;
   and on setting, it must set the element's <span
   title="concept-fe-checked">checkedness</span> to the new value and
   set the element's <span
   title="concept-input-checked-dirty-flag">dirty checkedness
   flag</span> to true.</p>
 
   <hr>
 
+  <p>The <dfn title="dom-input-files"><code>files</code></dfn> DOM
+  attribute allows scripts to access the element's <span
+  title="concept-input-type-file-selected">selected files</span>. On
+  getting, if the DOM attribute applies, it must return a new
+  <code>FileList</code> object that represents the current <span
+  title="concept-input-type-file-selected">selected files</span>. If
+  the DOM attribute does not apply, then it must instead throw an
+  <code>INVALID_STATE_ERR</code> exception. <a
+  href="#refsFILEAPI">[FILEAPI]</a></p>
+
+  <hr>
+
   <p>The <dfn
   title="dom-input-valueAsDate"><code>valueAsDate</code></dfn> DOM
   attribute represents the <span
   title="concept-fe-value">value</span> of the element, interpreted
   as a date.</p>
 
   <p>On getting, if the <code
   title="dom-input-valueAsDate">valueAsDate</code> attribute does not
   apply, as defined for the <code>input</code> element's <code
   title="attr-input-type">type</code> attribute's current state, then

|