Skip to content

Commit

Permalink
[co] (2) WF2: Further simplify the allowed syntax for <input type=email>
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2439 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 25, 2008
1 parent e4de6f6 commit aea4c7b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
17 changes: 10 additions & 7 deletions index
Expand Up @@ -24211,9 +24211,13 @@ function AddCloud(data, x, y) { ... }</pre>
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>
<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>

<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
Expand All @@ -24227,10 +24231,9 @@ function AddCloud(data, x, y) { ... }</pre>
from a type mismatch</a>.</p>

<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=#refsRFC2822>[RFC2822]</a></p>
production <code title="">dot-atom&nbsp;"@"&nbsp;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=#refsRFC2822>[RFC2822]</a></p>

<div class=bookkeeping>

Expand Down
21 changes: 12 additions & 9 deletions source
Expand Up @@ -27012,11 +27012,15 @@ function AddCloud(data, x, y) { ... }</pre>
represented by its <span title="concept-fe-value">value</span>. User
agents may allow the user to set the <span
title="concept-fe-value">value</span> to a string that is not an
e-mail address. 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>.</p>
<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
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
Expand All @@ -27032,10 +27036,9 @@ function AddCloud(data, x, y) { ... }</pre>
from a type mismatch</span>.</p>

<p>A <dfn>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
production <code title="">dot-atom&nbsp;"@"&nbsp;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="#refsRFC2822">[RFC2822]</a></p>

<div class="bookkeeping">
Expand Down

0 comments on commit aea4c7b

Please sign in to comment.