- From: poot <cvsmail@w3.org>
- Date: Tue, 25 Nov 2008 20:58:51 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: Further simplify the allowed syntax for <input type=email> (whatwg r2439) 4.10.4.1.3 E-mail state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1611.html#e-mail-state valid e-mail address http://people.w3.org/mike/diffs/html5/spec/Overview.1.1611.html#valid-e-mail-address http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1610&r2=1.1611&f=h http://html5.org/tools/web-apps-tracker?from=2438&to=2439 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1610 retrieving revision 1.1611 diff -u -d -r1.1610 -r1.1611 --- Overview.html 25 Nov 2008 11:25:57 -0000 1.1610 +++ Overview.html 25 Nov 2008 11:56:14 -0000 1.1611 @@ -19783,18 +19783,21 @@ 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 - e-mail address. 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 + <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 + <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>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><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-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>valid e-mail address</dfn> is a string that matches the - <code>addr-spec</code> production defined in RFC 2822 section 3.4.1, - excluding the <code>CFWS</code> production everywhere, and excluding - the <code>FWS</code> production everywhere except in the - <code>quoted-string</code> production. <a href=#references>[RFC2822]</a><div class=bookkeeping> + 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:
Received on Tuesday, 25 November 2008 11:59:28 UTC