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

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