- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Nov 2008 11:56:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv7175 Modified Files: Overview.html Log Message: WF2: Further simplify the allowed syntax for <input type=email> (whatwg r2439) Index: Overview.html =================================================================== 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:56:28 UTC