Browse files

[c] (0) WF2: <input type=email multiple>, <input type=file multiple>

git-svn-id: http://svn.whatwg.org/webapps@2440 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent aea4c7b commit c5a2a8d88046a01daa1276e8b6f07ac204678d0b @Hixie Hixie committed Nov 25, 2008
Showing with 196 additions and 45 deletions.
  1. +102 −28 index
  2. +94 −17 source
View
130 index
@@ -530,11 +530,12 @@
<li><a href=#the-readonly-attribute><span class=secno>4.10.4.2.3 </span>The <code title=attr-input-readonly>readonly</code> attribute</a></li>
<li><a href=#the-size-attribute><span class=secno>4.10.4.2.4 </span>The <code title=attr-input-size>size</code> attribute</a></li>
<li><a href=#the-required-attribute><span class=secno>4.10.4.2.5 </span>The <code title=attr-input-required>required</code> attribute</a></li>
- <li><a href=#the-maxlength-attribute><span class=secno>4.10.4.2.6 </span>The <code title=attr-input-maxlength>maxlength</code> attribute</a></li>
- <li><a href=#the-pattern-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-pattern>pattern</code> attribute</a></li>
- <li><a href=#the-min-and-max-attributes><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-min>min</code> and <code title=attr-input-max>max</code> attributes</a></li>
- <li><a href=#the-step-attribute><span class=secno>4.10.4.2.9 </span>The <code title=attr-input-step>step</code> attribute</a></li>
- <li><a href=#the-placeholder-attribute><span class=secno>4.10.4.2.10 </span>The <code title=attr-input-placeholder>placeholder</code> attribute</a></ol></li>
+ <li><a href=#the-multiple-attribute><span class=secno>4.10.4.2.6 </span>The <code title=attr-input-multiple>multiple</code> attribute</a></li>
+ <li><a href=#the-maxlength-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-maxlength>maxlength</code> attribute</a></li>
+ <li><a href=#the-pattern-attribute><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-pattern>pattern</code> attribute</a></li>
+ <li><a href=#the-min-and-max-attributes><span class=secno>4.10.4.2.9 </span>The <code title=attr-input-min>min</code> and <code title=attr-input-max>max</code> attributes</a></li>
+ <li><a href=#the-step-attribute><span class=secno>4.10.4.2.10 </span>The <code title=attr-input-step>step</code> attribute</a></li>
+ <li><a href=#the-placeholder-attribute><span class=secno>4.10.4.2.11 </span>The <code title=attr-input-placeholder>placeholder</code> attribute</a></ol></li>
<li><a href=#common-input-element-apis><span class=secno>4.10.4.3 </span>Common <code>input</code> element APIs</a></li>
<li><a href=#common-event-behaviors><span class=secno>4.10.4.4 </span>Common event behaviors</a></ol></li>
<li><a href=#the-button-element><span class=secno>4.10.5 </span>The <code>button</code> element</a></li>
@@ -23090,6 +23091,7 @@ function AddCloud(data, x, y) { ... }</pre>
<dd><code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code></dd>
<dd><code title=attr-fs-method><a href=#attr-fs-method>method</a></code></dd>
<dd><code title=attr-input-min><a href=#attr-input-min>min</a></code></dd>
+ <dd><code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code></dd>
<dd><code title=attr-fe-name><a href=#attr-fe-name>name</a></code></dd>
<dd><code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code></dd>
<dd><code title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code></dd>
@@ -23119,6 +23121,7 @@ function AddCloud(data, x, y) { ... }</pre>
attribute long <a href=#dom-input-maxlength title=dom-input-maxLength>maxLength</a>;
attribute DOMString <a href=#dom-fs-method title=dom-fs-method>method</a>;
attribute DOMString <a href=#dom-input-min title=dom-input-min>min</a>;
+ attribute boolean <a href=#dom-input-multiple title=dom-input-multiple>multiple</a>;
attribute DOMString <a href=#dom-fe-name title=dom-fe-name>name</a>;
attribute DOMString <a href=#dom-input-pattern title=dom-input-pattern>pattern</a>;
attribute DOMString <a href=#dom-input-placeholder title=dom-input-placeholder>placeholder</a>;
@@ -23247,7 +23250,7 @@ function AddCloud(data, x, y) { ... }</pre>
<td> A button
</table><p>The <i>missing value default</i> is the <a href=#text-state-and-search-state title=attr-input-type-text>Text</a> state.</p>
- <p>Which of the <code title=attr-input-accept><a href=#attr-input-accept>accept</a></code>, <code title=attr-fs-action><a href=#attr-fs-action>action</a></code>, <code title=attr-input-alt><a href=#attr-input-alt>alt</a></code>, <code title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>, <code title=attr-input-checked><a href=#attr-input-checked>checked</a></code>, <code title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>, and <code title=attr-input-list><a href=#attr-input-list>list</a></code>, <code title=attr-input-max><a href=#attr-input-max>max</a></code>, <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>, <code title=attr-fs-method><a href=#attr-fs-method>method</a></code>, <code title=attr-input-min><a href=#attr-input-min>min</a></code>, <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>, <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>, <code title=attr-input-required><a href=#attr-input-required>required</a></code>, <code title=attr-input-size><a href=#attr-input-size>size</a></code>, <code title=attr-input-src><a href=#attr-input-src>src</a></code>, <code title=attr-input-step><a href=#attr-input-step>step</a></code>, and <code title=attr-fs-target><a href=#attr-fs-target>target</a></code> attributes apply to an
+ <p>Which of the <code title=attr-input-accept><a href=#attr-input-accept>accept</a></code>, <code title=attr-fs-action><a href=#attr-fs-action>action</a></code>, <code title=attr-input-alt><a href=#attr-input-alt>alt</a></code>, <code title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>, <code title=attr-input-checked><a href=#attr-input-checked>checked</a></code>, <code title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>, and <code title=attr-input-list><a href=#attr-input-list>list</a></code>, <code title=attr-input-max><a href=#attr-input-max>max</a></code>, <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>, <code title=attr-fs-method><a href=#attr-fs-method>method</a></code>, <code title=attr-input-min><a href=#attr-input-min>min</a></code>, <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>, <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>, <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>, <code title=attr-input-required><a href=#attr-input-required>required</a></code>, <code title=attr-input-size><a href=#attr-input-size>size</a></code>, <code title=attr-input-src><a href=#attr-input-src>src</a></code>, <code title=attr-input-step><a href=#attr-input-step>step</a></code>, and <code title=attr-fs-target><a href=#attr-fs-target>target</a></code> attributes apply to an
<code><a href=#the-input-element>input</a></code> element depends on the state of its <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute. Similarly, the <code title=dom-input-checked><a href=#dom-input-checked>checked</a></code>, <code title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code>, <code title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code>, <code title=dom-input-list><a href=#dom-input-list>list</a></code>, and <code title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code> DOM
attributes, and the <code title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code>
and <code title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> methods, are
@@ -23531,6 +23534,29 @@ function AddCloud(data, x, y) { ... }</pre>
<td class=no> &middot; <!-- Reset Button -->
<!-- <td class="no"> &middot; Button -->
+ <tr><th> <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>
+ <td class=no> &middot; <!-- Hidden -->
+ <td class=no> &middot; <!-- Text -->
+<!-- <td class="no"> &middot; Search -->
+<!-- <td class="yes"> Yes E-mail -->
+<!-- <td class="no"> &middot; URL -->
+ <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; <!-- 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><th> <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>
<td class=no> &middot; <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
@@ -24040,7 +24066,7 @@ function AddCloud(data, x, y) { ... }</pre>
submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code>
attribute controls focus.</p>
- <p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> DOM attributes must
+ <p>The <dfn id=dom-input-accept title=dom-input-accept><code>accept</code></dfn>, <dfn id=dom-input-alt title=dom-input-alt><code>alt</code></dfn>, <dfn id=dom-input-autocomplete title=dom-input-autocomplete><code>autocomplete</code></dfn>, <dfn id=dom-input-max title=dom-input-max><code>max</code></dfn>, <dfn id=dom-input-min title=dom-input-min><code>min</code></dfn>, <dfn id=dom-input-multiple title=dom-input-multiple><code>multiple</code></dfn>, <dfn id=dom-input-pattern title=dom-input-pattern><code>pattern</code></dfn>, <dfn id=dom-input-placeholder title=dom-input-placeholder><code>placeholder</code></dfn>, <dfn id=dom-input-required title=dom-input-required><code>required</code></dfn>, <dfn id=dom-input-size title=dom-input-size><code>size</code></dfn>, <dfn id=dom-input-src title=dom-input-src><code>src</code></dfn>, <dfn id=dom-input-step title=dom-input-step><code>step</code></dfn>, and <dfn id=dom-input-type title=dom-input-type><code>type</code></dfn> DOM attributes must
<a href=#reflect>reflect</a> the respective content attributes of the same
name. The <dfn id=dom-input-maxlength title=dom-input-maxLength><code>maxLength</code></dfn> DOM
attribute must <a href=#reflect>reflect</a> the <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> content attribute. The
@@ -24108,6 +24134,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -24184,6 +24211,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-src><a href=#attr-input-src>src</a></code>,
<code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>, and
<code class=no-backref title=attr-fs-target><a href=#attr-fs-target>target</a></code>.</p>
@@ -24205,30 +24233,47 @@ function AddCloud(data, x, y) { ... }</pre>
section apply.</p>
<p>The <code><a href=#the-input-element>input</a></code> element represents a control for editing a
- single e-mail address given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
+ list of e-mail addresses given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
- the user agent should allow the user to change the e-mail address
- represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>. User
- agents may allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not an
- <a href=#valid-e-mail-address>valid e-mail address</a>. User agents should allow the user
- to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty
- string. User agents must not allow users to insert U+000A LINE FEED
- (LF) or U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>. User agents may transform the
+ the user agent should allow the user to change the e-mail addresses
+ represented by its <a href=#concept-fe-value title=concept-fe-value>value</a>. If
+ the <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code> attribute is
+ specified, then the user agent should allow the user to select or
+ provide multiple addresses; otherwise, the user agent should act in
+ a manner consistent with expecting the user to provide a single
+ e-mail address. User agents may allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not an
+ <a href=#valid-e-mail-address-list>valid e-mail address list</a>. User agents should allow the
+ user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the
+ empty string. User agents must not allow users to insert U+000A LINE
+ FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>. User agents may transform the
<a href=#concept-fe-value title=concept-fe-value>value</a> for display and editing
(e.g. converting punycode in the <a href=#concept-fe-value title=concept-fe-value>value</a> to IDN in the display and vice
versa).</p>
- <p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-e-mail-address>valid e-mail
- address</a>.</p>
+ <p>If the <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>
+ attribute is specified on the element, then the <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if specified, must
+ have a value that is a <a href=#valid-e-mail-address-list>valid e-mail address list</a>;
+ otherwise, the <code title=attr-input-value><a href=#attr-input-value>value</a></code>
+ attribute, if specified, must have a value that is a single
+ <a href=#valid-e-mail-address>valid e-mail address</a>.</p>
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
- <p><strong>Constraint validation:</strong> While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a
- <a href=#valid-e-mail-address>valid e-mail address</a>, the element is <a href=#suffering-from-a-type-mismatch>suffering
- from a type mismatch</a>.</p>
+ <p><strong>Constraint validation:</strong> If the <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code> attribute is specified
+ on the element, then, while the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a
+ <a href=#valid-e-mail-address-list>valid e-mail address list</a>, the element is
+ <a href=#suffering-from-a-type-mismatch>suffering from a type mismatch</a>; otherwise, while the
+ <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a
+ single <a href=#valid-e-mail-address>valid e-mail address</a>, the element is
+ <a href=#suffering-from-a-type-mismatch>suffering from a type mismatch</a>.</p>
+
+ <p>A <dfn id=valid-e-mail-address-list>valid e-mail address list</dfn> is a <a href=#set-of-comma-separated-tokens>set of
+ comma-separated tokens</a>, where each token is itself a
+ <a href=#valid-e-mail-address>valid e-mail address</a>, possibly with one or more leading
+ or trailing <a href=#space-character title="space character">space
+ characters</a>.</p>
<p>A <dfn id=valid-e-mail-address>valid e-mail address</dfn> is a string that matches the
production <code title="">dot-atom&nbsp;"@"&nbsp;dot-atom</code>
@@ -24242,6 +24287,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>,
<code title=attr-input-list><a href=#attr-input-list>list</a></code>,
<code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
+ <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -24343,6 +24389,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-src><a href=#attr-input-src>src</a></code>,
<code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>, and
<code class=no-backref title=attr-fs-target><a href=#attr-fs-target>target</a></code>.</p>
@@ -24405,6 +24452,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-src><a href=#attr-input-src>src</a></code>,
<code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>, and
<code class=no-backref title=attr-fs-target><a href=#attr-fs-target>target</a></code>.</p>
@@ -24539,6 +24587,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -24662,6 +24711,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -24785,6 +24835,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -24908,6 +24959,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -25025,6 +25077,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -25134,6 +25187,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -25237,6 +25291,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>,
@@ -25366,6 +25421,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -25433,6 +25489,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -25549,6 +25606,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -25591,7 +25649,10 @@ function AddCloud(data, x, y) { ... }</pre>
empty, then the element is <a href=#suffering-from-being-missing>suffering from being
missing</a>.</p>
- <p>There must be no more than one file in the list of <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected files</a>.</p>
+ <p>Unless the <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>
+ attribute is set, there must be no more than one file in the list of
+ <a href=#concept-input-type-file-selected title=concept-input-type-file-selected>selected
+ files</a>.</p>
<hr><p>The <dfn id=attr-input-accept title=attr-input-accept><code>accept</code></dfn>
attribute may be specified to provide user agents with a hint of
@@ -25628,7 +25689,8 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The following common <code><a href=#the-input-element>input</a></code> element content
attributes apply to the element:
- <code title=attr-input-accept><a href=#attr-input-accept>accept</a></code> and
+ <code title=attr-input-accept><a href=#attr-input-accept>accept</a></code>,
+ <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>, and
<code title=attr-input-required><a href=#attr-input-required>required</a></code>.</p>
<p>The <code title=event-input-change><a href=#event-input-change>change</a></code> event applies.</p>
@@ -25720,6 +25782,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -25878,6 +25941,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>,
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -25947,6 +26011,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -26005,6 +26070,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>,
<code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>,
<code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>,
+ <code class=no-backref title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code>,
<code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>,
<code class=no-backref title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code>,
<code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>,
@@ -26196,7 +26262,15 @@ function AddCloud(data, x, y) { ... }</pre>
- <h6 id=the-maxlength-attribute><span class=secno>4.10.4.2.6 </span>The <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> attribute</h6>
+ <h6 id=the-multiple-attribute><span class=secno>4.10.4.2.6 </span>The <code title=attr-input-multiple><a href=#attr-input-multiple>multiple</a></code> attribute</h6>
+
+ <p>The <dfn id=attr-input-multiple title=attr-input-multiple><code>multiple</code></dfn>
+ attribute is a <a href=#boolean-attribute>boolean attribute</a> that indicates whether
+ the user is to be allowed to specify more than one value.</p>
+
+
+
+ <h6 id=the-maxlength-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code> attribute</h6>
<p>The <dfn id=attr-input-maxlength title=attr-input-maxlength><code>maxlength</code></dfn> attribute,
when it applies, is a <a href=#attr-fe-maxlength title=attr-fe-maxlength>form control
@@ -26211,7 +26285,7 @@ function AddCloud(data, x, y) { ... }</pre>
- <h6 id=the-pattern-attribute><span class=secno>4.10.4.2.7 </span>The <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6>
+ <h6 id=the-pattern-attribute><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6>
<p>The <dfn id=attr-input-pattern title=attr-input-pattern><code>pattern</code></dfn>
attribute specifies a regular expression against which the control's
@@ -26274,7 +26348,7 @@ You cannot complete this form until the field is correct.</samp></pre>
- <h6 id=the-min-and-max-attributes><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> and <code title=attr-input-max><a href=#attr-input-max>max</a></code> attributes</h6>
+ <h6 id=the-min-and-max-attributes><span class=secno>4.10.4.2.9 </span>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> and <code title=attr-input-max><a href=#attr-input-max>max</a></code> attributes</h6>
<p>The <dfn id=attr-input-min title=attr-input-min><code>min</code></dfn> and <dfn id=attr-input-max title=attr-input-max><code>max</code></dfn> attributes indicate
the allowed range of values for the element.</p>
@@ -26326,7 +26400,7 @@ You cannot complete this form until the field is correct.</samp></pre>
overflow</a>.</p>
- <h6 id=the-step-attribute><span class=secno>4.10.4.2.9 </span>The <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute</h6>
+ <h6 id=the-step-attribute><span class=secno>4.10.4.2.10 </span>The <code title=attr-input-step><a href=#attr-input-step>step</a></code> attribute</h6>
<p>The <dfn id=attr-input-step title=attr-input-step><code>step</code></dfn>
attribute indicates the granularity that is expected (and required)
@@ -26383,7 +26457,7 @@ You cannot complete this form until the field is correct.</samp></pre>
- <h6 id=the-placeholder-attribute><span class=secno>4.10.4.2.10 </span>The <code title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code> attribute</h6>
+ <h6 id=the-placeholder-attribute><span class=secno>4.10.4.2.11 </span>The <code title=attr-input-placeholder><a href=#attr-input-placeholder>placeholder</a></code> attribute</h6>
<p>The <dfn id=attr-input-placeholder title=attr-input-placeholder><code>placeholder</code></dfn>
attribute represents a <em>short</em> hint (a word or short phrase)
View
111 source
@@ -25730,6 +25730,7 @@ function AddCloud(data, x, y) { ... }</pre>
<dd><code title="attr-input-maxlength">maxlength</code></dd>
<dd><code title="attr-fs-method">method</code></dd>
<dd><code title="attr-input-min">min</code></dd>
+ <dd><code title="attr-input-multiple">multiple</code></dd>
<dd><code title="attr-fe-name">name</code></dd>
<dd><code title="attr-input-pattern">pattern</code></dd>
<dd><code title="attr-input-placeholder">placeholder</code></dd>
@@ -25759,6 +25760,7 @@ function AddCloud(data, x, y) { ... }</pre>
attribute long <span title="dom-input-maxLength">maxLength</span>;
attribute DOMString <span title="dom-fs-method">method</span>;
attribute DOMString <span title="dom-input-min">min</span>;
+ attribute boolean <span title="dom-input-multiple">multiple</span>;
attribute DOMString <span title="dom-fe-name">name</span>;
attribute DOMString <span title="dom-input-pattern">pattern</span>;
attribute DOMString <span title="dom-input-placeholder">placeholder</span>;
@@ -25930,6 +25932,7 @@ function AddCloud(data, x, y) { ... }</pre>
title="attr-input-maxlength">maxlength</code>, <code
title="attr-fs-method">method</code>, <code
title="attr-input-min">min</code>, <code
+ title="attr-input-multiple">multiple</code>, <code
title="attr-input-pattern">pattern</code>, <code
title="attr-input-readonly">readonly</code>, <code
title="attr-input-required">required</code>, <code
@@ -26242,6 +26245,30 @@ function AddCloud(data, x, y) { ... }</pre>
<!-- <td class="no"> &middot; Button -->
<tr>
+ <th> <code title="attr-input-multiple">multiple</code>
+ <td class="no"> &middot; <!-- Hidden -->
+ <td class="no"> &middot; <!-- Text -->
+<!-- <td class="no"> &middot; Search -->
+<!-- <td class="yes"> Yes E-mail -->
+<!-- <td class="no"> &middot; URL -->
+ <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; <!-- 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>
<th> <code title="attr-input-pattern">pattern</code>
<td class="no"> &middot; <!-- Hidden -->
<td class="yes"> Yes <!-- Text -->
@@ -26811,6 +26838,7 @@ function AddCloud(data, x, y) { ... }</pre>
title="dom-input-autocomplete"><code>autocomplete</code></dfn>, <dfn
title="dom-input-max"><code>max</code></dfn>, <dfn
title="dom-input-min"><code>min</code></dfn>, <dfn
+ title="dom-input-multiple"><code>multiple</code></dfn>, <dfn
title="dom-input-pattern"><code>pattern</code></dfn>, <dfn
title="dom-input-placeholder"><code>placeholder</code></dfn>, <dfn
title="dom-input-required"><code>required</code></dfn>, <dfn
@@ -26897,6 +26925,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -26981,6 +27010,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-max">max</code>,
<code class="no-backref" title="attr-fs-method">method</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-fs-target">target</code>.</p>
@@ -27004,36 +27034,55 @@ function AddCloud(data, x, y) { ... }</pre>
section apply.</p>
<p>The <code>input</code> element represents a control for editing a
- single e-mail address given in the element's <span
+ list of e-mail addresses given in the element's <span
title="concept-fe-value">value</span>.</p>
<p>If the element is <i title="concept-input-mutable">mutable</i>,
- the user agent should allow the user to change the e-mail address
- represented by its <span title="concept-fe-value">value</span>. User
- agents may allow the user to set the <span
+ the user agent should allow the user to change the e-mail addresses
+ represented by its <span title="concept-fe-value">value</span>. If
+ the <code title="attr-input-multiple">multiple</code> attribute is
+ specified, then the user agent should allow the user to select or
+ provide multiple addresses; otherwise, the user agent should act in
+ a manner consistent with expecting the user to provide a single
+ e-mail address. User agents may allow the user to set the <span
title="concept-fe-value">value</span> to a string that is not an
- <span>valid e-mail address</span>. User agents should allow the user
- to set the <span title="concept-fe-value">value</span> to the empty
- string. User agents must not allow users to insert U+000A LINE FEED
- (LF) or U+000D CARRIAGE RETURN (CR) characters into the <span
+ <span>valid e-mail address list</span>. User agents should allow the
+ user to set the <span title="concept-fe-value">value</span> to the
+ empty string. User agents must not allow users to insert U+000A LINE
+ FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the <span
title="concept-fe-value">value</span>. User agents may transform the
<span title="concept-fe-value">value</span> for display and editing
(e.g. converting punycode in the <span
title="concept-fe-value">value</span> to IDN in the display and vice
versa).</p>
- <p>The <code title="attr-input-value">value</code> attribute, if
- specified, must have a value that is a <span>valid e-mail
- address</span>.</p>
+ <p>If the <code title="attr-input-multiple">multiple</code>
+ attribute is specified on the element, then the <code
+ title="attr-input-value">value</code> attribute, if specified, must
+ have a value that is a <span>valid e-mail address list</span>;
+ otherwise, the <code title="attr-input-value">value</code>
+ attribute, if specified, must have a value that is a single
+ <span>valid e-mail address</span>.</p>
<p><strong>The <span>value sanitization algorithm</span> is as
follows:</strong> <span>Strip line breaks</span> from the <span
title="concept-fe-value">value</span>.</p>
- <p><strong>Constraint validation:</strong> While the <span
+ <p><strong>Constraint validation:</strong> If the <code
+ title="attr-input-multiple">multiple</code> attribute is specified
+ on the element, then, while the <span
title="concept-fe-value">value</span> of the element is not a
- <span>valid e-mail address</span>, the element is <span>suffering
- from a type mismatch</span>.</p>
+ <span>valid e-mail address list</span>, the element is
+ <span>suffering from a type mismatch</span>; otherwise, while the
+ <span title="concept-fe-value">value</span> of the element is not a
+ single <span>valid e-mail address</span>, the element is
+ <span>suffering from a type mismatch</span>.</p>
+
+ <p>A <dfn>valid e-mail address list</dfn> is a <span>set of
+ comma-separated tokens</span>, where each token is itself a
+ <span>valid e-mail address</span>, possibly with one or more leading
+ or trailing <span title="space character">space
+ characters</span>.</p>
<p>A <dfn>valid e-mail address</dfn> is a string that matches the
production <code title="">dot-atom&nbsp;"@"&nbsp;dot-atom</code>
@@ -27048,6 +27097,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code title="attr-input-autocomplete">autocomplete</code>,
<code title="attr-input-list">list</code>,
<code title="attr-input-maxlength">maxlength</code>,
+ <code title="attr-input-multiple">multiple</code>,
<code title="attr-input-pattern">pattern</code>,
<code title="attr-input-placeholder">placeholder</code>,
<code title="attr-input-readonly">readonly</code>,
@@ -27157,6 +27207,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-max">max</code>,
<code class="no-backref" title="attr-fs-method">method</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-fs-target">target</code>.</p>
@@ -27225,6 +27276,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-max">max</code>,
<code class="no-backref" title="attr-fs-method">method</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-fs-target">target</code>.</p>
@@ -27381,6 +27433,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -27522,6 +27575,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -27665,6 +27719,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -27807,6 +27862,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -27944,6 +28000,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -28068,6 +28125,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -28181,6 +28239,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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>,
@@ -28332,6 +28391,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-fs-enctype">enctype</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</code>,
+ <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-readonly">readonly</code>,
@@ -28405,6 +28465,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -28541,6 +28602,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -28588,8 +28650,10 @@ function AddCloud(data, x, y) { ... }</pre>
empty, then the element is <span>suffering from being
missing</span>.</p>
- <p>There must be no more than one file in the list of <span
- title="concept-input-type-file-selected">selected files</span>.</p>
+ <p>Unless the <code title="attr-input-multiple">multiple</code>
+ attribute is set, there must be no more than one file in the list of
+ <span title="concept-input-type-file-selected">selected
+ files</span>.</p>
<hr>
@@ -28636,7 +28700,8 @@ function AddCloud(data, x, y) { ... }</pre>
<p>The following common <code>input</code> element content
attributes apply to the element:
- <code title="attr-input-accept">accept</code> and
+ <code title="attr-input-accept">accept</code>,
+ <code title="attr-input-multiple">multiple</code>, and
<code title="attr-input-required">required</code>.</p>
<p>The <code title="event-input-change">change</code> event applies.</p>
@@ -28735,6 +28800,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-max">max</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -28939,6 +29005,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-max">max</code>,
<code class="no-backref" title="attr-input-maxlength">maxlength</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -29015,6 +29082,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -29080,6 +29148,7 @@ function AddCloud(data, x, y) { ... }</pre>
<code class="no-backref" title="attr-input-maxlength">maxlength</code>,
<code class="no-backref" title="attr-fs-method">method</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-pattern">pattern</code>,
<code class="no-backref" title="attr-input-placeholder">placeholder</code>,
<code class="no-backref" title="attr-input-readonly">readonly</code>,
@@ -29299,6 +29368,14 @@ function AddCloud(data, x, y) { ... }</pre>
+ <h6>The <code title="attr-input-multiple">multiple</code> attribute</h6>
+
+ <p>The <dfn title="attr-input-multiple"><code>multiple</code></dfn>
+ attribute is a <span>boolean attribute</span> that indicates whether
+ the user is to be allowed to specify more than one value.</p>
+
+
+
<h6>The <code title="attr-input-maxlength">maxlength</code> attribute</h6>
<p>The <dfn

0 comments on commit c5a2a8d

Please sign in to comment.