W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

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

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 23 Oct 2010 01:13:43 +0200
Message-ID: <op.vkz2s40a64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 22 Oct 2010 23:09:41 +0200, Jonas Sicking <jonas at sicking.cc> wrote:
> On Fri, Oct 22, 2010 at 2:57 AM, Anne van Kesteren <annevk at opera.com>  
> wrote:
>> I do not really get why it being comma-separated is not just the  
>> submission format. The UI could be quite different. E.g. on the iPhone  
>> email client it is more like an inline list. I think the specification  
>> is simply not
>> abstract enough here, as it is for the other controls.
>
> FWIW, it's not just a submission format, but also a JS format since
> .value returns a comma-separated list too.

Sure, I would expect the way it is serialized for submission and for  
.value to be the same. I would not expect any whitespace there either. The  
way it is currently defined does not make much sense to me and seems to  
assume a particular UI.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 22 October 2010 16:13:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:01 UTC