NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 393 - WF2: Further simplify the allowed syntax for <input type=email>
WF2: Further simplify the allowed syntax for <input type=email>
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-04 16:48 CET by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-01-04 16:48:06 CET
Index: source
===================================================================
--- source	(revision 2438)
+++ source	(revision 2439)
@@ -27012,11 +27012,15 @@
   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
@@ -27032,10 +27036,9 @@
   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">