- From: poot <cvsmail@w3.org>
- Date: Tue, 25 Nov 2008 21:32:51 +0900 (JST)
- To: public-html-diffs@w3.org
Update summary tables for previous checkin. (whatwg r2441)
valid e-mail address list
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#valid-e-mail-address-list
4.10.4.1.4 E-mail state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#e-mail-state
email
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#attr-input-type-email-keyword
search
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#attr-input-type-search-keyword
4.10.4.1.3 URL state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#url-state
valid e-mail address
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#valid-e-mail-address
button
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#attr-input-type-button-keyword
4.10.4.1.2 Text state and Search state
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#text-state-and-search-state
password
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#attr-input-type-password-keyword
url
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1613.html#attr-input-type-url-keyword
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1612&r2=1.1613&f=h
http://html5.org/tools/web-apps-tracker?from=2440&to=2441
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1612
retrieving revision 1.1613
diff -u -d -r1.1612 -r1.1613
--- Overview.html 25 Nov 2008 12:19:44 -0000 1.1612
+++ Overview.html 25 Nov 2008 12:30:04 -0000 1.1613
@@ -443,8 +443,8 @@
<ol>
<li><a href=#hidden-state><span class=secno>4.10.4.1.1 </span>Hidden state</a></li>
<li><a href=#text-state-and-search-state><span class=secno>4.10.4.1.2 </span>Text state and </a></li>
- <li><a href=#e-mail-state><span class=secno>4.10.4.1.3 </span>E-mail state</a></li>
- <li><a href=#url-state><span class=secno>4.10.4.1.4 </span>URL state</a></li>
+ <li><a href=#url-state><span class=secno>4.10.4.1.3 </span>URL state</a></li>
+ <li><a href=#e-mail-state><span class=secno>4.10.4.1.4 </span>E-mail state</a></li>
<li><a href=#password-state><span class=secno>4.10.4.1.5 </span>Password state</a></li>
<li><a href=#date-and-time-state><span class=secno>4.10.4.1.6 </span>Date and Time state</a></li>
<li><a href=#date-state><span class=secno>4.10.4.1.7 </span>Date state</a></li>
@@ -18825,14 +18825,14 @@
<td> <a href=#text-state-and-search-state title=attr-input-type-search>Search</a>
<td> Text with no line breaks
<td> Search field
- <tr><td> <dfn id=attr-input-type-email-keyword title=attr-input-type-email-keyword><code>email</code></dfn>
- <td> <a href=#e-mail-state title=attr-input-type-email>E-mail</a>
- <td> An e-mail address
- <td> A text field
<tr><td> <dfn id=attr-input-type-url-keyword title=attr-input-type-url-keyword><code>url</code></dfn>
<td> <a href=#url-state title=attr-input-type-url>URL</a>
<td> An IRI
<td> A text field
+ <tr><td> <dfn id=attr-input-type-email-keyword title=attr-input-type-email-keyword><code>email</code></dfn>
+ <td> <a href=#e-mail-state title=attr-input-type-email>E-mail</a>
+ <td> An e-mail address or list of e-mail addresses
+ <td> A text field
<tr><td> <dfn id=attr-input-type-password-keyword title=attr-input-type-password-keyword><code>password</code></dfn>
<td> <a href=#password-state title=attr-input-type-password>Password</a>
<td> Text with no line breaks (sensitive information)
@@ -18907,8 +18907,8 @@
<th> <span><a href=#hidden-state title=attr-input-type-hidden>Hidden</a></span>
<th> <span><a href=#text-state-and-search-state title=attr-input-type-text>Text</a>,</span>
<span><a href=#text-state-and-search-state title=attr-input-type-search>Search</a>,</span>
- <span><a href=#e-mail-state title=attr-input-type-email>E-mail</a>,</span>
<a href=#url><span title=attr-input-type-url>URL</span></a>
+ <th> <span><a href=#e-mail-state title=attr-input-type-email>E-mail</a></span>
<th> <span><a href=#password-state title=attr-input-type-password>Password</a></span>
<th> <span><a href=#date-and-time-state title=attr-input-type-datetime>Date and Time</a>,</span>
<span><a href=#date-state title=attr-input-type-date>Date</a>,</span>
@@ -18930,8 +18930,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -18953,8 +18953,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -18976,8 +18976,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -18999,8 +18999,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19022,8 +19022,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19045,8 +19045,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19068,8 +19068,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19091,8 +19091,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19114,8 +19114,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19137,8 +19137,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19160,8 +19160,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19183,8 +19183,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19206,8 +19206,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19229,8 +19229,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19252,8 +19252,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19275,8 +19275,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19298,8 +19298,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19321,8 +19321,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19344,8 +19344,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19367,8 +19367,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19390,8 +19390,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=no> · <!-- Date and Time -->
<!-- <td class="no"> · Date -->
@@ -19413,8 +19413,8 @@
<td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- Hidden -->
<td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- Text -->
<!-- <td class="yes"> <span title="dom-input-value-value">value</span> Search -->
-<!-- <td class="yes"> <span title="dom-input-value-value">value</span> E-mail -->
<!-- <td class="yes"> <span title="dom-input-value-value">value</span> URL -->
+ <td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- E-mail -->
<td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- Password -->
<td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- Date and Time -->
<!-- <td class="yes"> <span title="dom-input-value-value">value</span> Date -->
@@ -19436,8 +19436,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19459,8 +19459,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19482,8 +19482,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19505,8 +19505,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19528,8 +19528,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19551,8 +19551,8 @@
<td class=no> · <!-- Hidden -->
<td class=no> · <!-- Text -->
<!-- <td class="no"> · Search -->
-<!-- <td class="no"> · E-mail -->
<!-- <td class="no"> · URL -->
+ <td class=no> · <!-- E-mail -->
<td class=no> · <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19574,8 +19574,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19597,8 +19597,8 @@
<td class=no> · <!-- Hidden -->
<td class=yes> Yes <!-- Text -->
<!-- <td class="yes"> Yes Search -->
-<!-- <td class="yes"> Yes E-mail -->
<!-- <td class="yes"> Yes URL -->
+ <td class=yes> Yes <!-- E-mail -->
<td class=yes> Yes <!-- Password -->
<td class=yes> Yes <!-- Date and Time -->
<!-- <td class="yes"> Yes Date -->
@@ -19805,49 +19805,30 @@
<code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code>, and
<code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> methods.</p>
- </div><h6 id=e-mail-state><span class=secno>4.10.4.1.3 </span><dfn title=attr-input-type-email>E-mail</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#e-mail-state title=attr-input-type-email>E-mail</a> state, the rules in this
+ </div><h6 id=url-state><span class=secno>4.10.4.1.3 </span><dfn title=attr-input-type-url>URL</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#url-state title=attr-input-type-url>URL</a> state, the rules in this
section apply.<p>The <code><a href=#the-input-element>input</a></code> element represents a control for editing a
- list of e-mail addresses given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<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 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>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><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><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>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>A <dfn id=valid-e-mail-address>valid e-mail address</dfn> is a string that matches the
- production <code title="">dot-atom "@" dot-atom</code>
- where <code title="">dot-atom</code> is defined in RFC 2822 section
- 3.2.4, excluding the <code>CFWS</code> production everywhere. <a href=#references>[RFC2822]</a><div class=bookkeeping>
+ single <a href=#url>URL</a> given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>If the is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>, the user
+ agent should allow the user to change the URL 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 a <a href=#valid-url>valid URL</a>, but may also or instead
+ automatically escape characters entered by the user so that the
+ <a href=#concept-fe-value title=concept-fe-value>value</a> is always a <a href=#valid-url>valid
+ URL</a> (even if that isn't the actual value seen and edited by
+ the user in the interface). 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>.<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-url>valid URL</a>.<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><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-url>valid URL</a>, the element is <a href=#suffering-from-a-type-mismatch>suffering from a type
+ mismatch</a>.<div class=bookkeeping>
<p>The following common <code><a href=#the-input-element>input</a></code> element content
attributes and DOM attributes apply to the element:
<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>,
@@ -19872,6 +19853,7 @@
<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>
@@ -19884,30 +19866,49 @@
<code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code>, and
<code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> methods.</p>
- </div><h6 id=url-state><span class=secno>4.10.4.1.4 </span><dfn title=attr-input-type-url>URL</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#url-state title=attr-input-type-url>URL</a> state, the rules in this
+ </div><h6 id=e-mail-state><span class=secno>4.10.4.1.4 </span><dfn title=attr-input-type-email>E-mail</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#e-mail-state title=attr-input-type-email>E-mail</a> state, the rules in this
section apply.<p>The <code><a href=#the-input-element>input</a></code> element represents a control for editing a
- single <a href=#url>URL</a> given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>If the is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>, the user
- agent should allow the user to change the URL 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 a <a href=#valid-url>valid URL</a>, but may also or instead
- automatically escape characters entered by the user so that the
- <a href=#concept-fe-value title=concept-fe-value>value</a> is always a <a href=#valid-url>valid
- URL</a> (even if that isn't the actual value seen and edited by
- the user in the interface). 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>.<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-url>valid URL</a>.<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><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-url>valid URL</a>, the element is <a href=#suffering-from-a-type-mismatch>suffering from a type
- mismatch</a>.<div class=bookkeeping>
+ list of e-mail addresses given in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<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 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>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><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><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>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>A <dfn id=valid-e-mail-address>valid e-mail address</dfn> is a string that matches the
+ production <code title="">dot-atom "@" dot-atom</code>
+ where <code title="">dot-atom</code> is defined in RFC 2822 section
+ 3.2.4, excluding the <code>CFWS</code> production everywhere. <a href=#references>[RFC2822]</a><div class=bookkeeping>
<p>The following common <code><a href=#the-input-element>input</a></code> element content
attributes and DOM attributes apply to the element:
<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>,
@@ -19932,7 +19933,6 @@
<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>
Received on Tuesday, 25 November 2008 12:33:31 UTC