[whatwg] Make "foo@bar.com, " a valid email address list

On Fri, 22 Oct 2010 19:44:42 +0200, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 10/22/10 1:25 PM, Garrett Smith wrote:
>> What is wrong with splitting on comma, e.g.
>>
>> var validAddressList = inp.value.split(",");
>
> That depends on what meaning of "email address" is used here.  Is:
>
>    "Zbarsky, Boris" <bzbarsky at mit.edu>
>
> a valid "email address"?

Not per HTML5.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 22 October 2010 11:08:28 UTC