Bug 84346

Summary: [Chromium] datalist: Wrong behavior for <input type=email multiple>
Product: WebKit Reporter: Kent Tamura <tkent>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bronislav.klucka, keishi
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: data:text/html,<input type=email multiple list=dl1><datalist id=dl1><option>keishi@webkit.org<option>tkent@chromium.org</datalist>
Bug Depends on: 85353    
Bug Blocks: 27247, 85355    

Description Kent Tamura 2012-04-19 07:51:25 PDT
1. Open the URL; data:text/html,<input type=email multiple list=dl1><datalist id=dl1><option>keishi@webkit.org<option>tkent@chromium.org</datalist>
2. Type an email address to the input field
3. Try to add another email address from the suggestion list

Actual behavior:
No way to show the suggestion list

Expected behavior:
There is a way to show the suggestion list.

http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#concept-input-list
> If the element does have a multiple attribute specified, and the multiple attribute does apply
> When the user selects a suggestion, the user agent must either add a new entry to the input element's values, whose value is the selected suggestion's value, or change an existing entry in the input element's values to have the value given by the selected suggestion's value, as if the user had himself added an entry with that value, or edited an existing entry to be that value. Which behavior is to be applied depends on the user interface in a user-agent-defined manner.
Comment 1 Keishi Hattori 2012-05-02 01:43:50 PDT
Here is a chromium Mac build with support for email multiple.
https://docs.google.com/open?id=0BwRi59l_ri74ZHVKVnhaYjN3SjA
Comment 2 Bronislav Klucka 2012-05-11 02:30:02 PDT
Any plans for Windows build?
Comment 3 Kent Tamura 2012-05-11 02:31:30 PDT
(In reply to comment #2)
> Any plans for Windows build?

Do you mean Safari/WIndows, not Chromium/Windows?
Comment 4 Kent Tamura 2012-05-11 02:35:07 PDT
(In reply to comment #3)
> (In reply to comment #2)
> > Any plans for Windows build?
> 
> Do you mean Safari/WIndows, not Chromium/Windows?

Ah, probably Bronislav was talking about a custom build with email-multiple support for Chromium/Windows.
Comment 5 Bronislav Klucka 2012-05-11 02:41:18 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Any plans for Windows build?
> > 
> > Do you mean Safari/WIndows, not Chromium/Windows?
> 
> Ah, probably Bronislav was talking about a custom build with email-multiple support for Chromium/Windows.

Well I assume that "Mac build" means that browser using WebKit on Mac will be able to use multiple attribute, so the question was whether there will be Windows build of WebKit with this feature, so Windows browser will be able to use it (and yes, I am specifically asking because of Chromium)
Comment 6 Kent Tamura 2012-05-11 02:48:14 PDT
(In reply to comment #5)
> Well I assume that "Mac build" means that browser using WebKit on Mac will be able to use multiple attribute, so the question was whether there will be Windows build of WebKit with this feature, so Windows browser will be able to use it (and yes, I am specifically asking because of Chromium)

We're working on this bug for all of Chromium platforms (Chromium OS, Linux, Mac, Windows) except Android.
Comment 7 Bronislav Klucka 2013-03-29 08:36:18 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > Well I assume that "Mac build" means that browser using WebKit on Mac will be able to use multiple attribute, so the question was whether there will be Windows build of WebKit with this feature, so Windows browser will be able to use it (and yes, I am specifically asking because of Chromium)
> 
> We're working on this bug for all of Chromium platforms (Chromium OS, Linux, Mac, Windows) except Android.

hi, 

data:text/html,<input type=email multiple list=dl1><datalist id=dl1><option>keishi@webkit.org<option>tkent@chromium.org</datalist>

is working on Chromium

Is there any reason, why it's not working on type=text?
Comment 8 Kent Tamura 2013-03-31 18:01:32 PDT
(In reply to comment #7)
> data:text/html,<input type=email multiple list=dl1><datalist id=dl1><option>keishi@webkit.org<option>tkent@chromium.org</datalist>
> 
> is working on Chromium
> 
> Is there any reason, why it's not working on type=text?

It works with type=text as our expectation. If you think something is wrong, please file a bug in crbug.com.
Comment 9 Bronislav Klucka 2013-03-31 22:17:36 PDT
(In reply to comment #8)
> (In reply to comment #7)
> > data:text/html,<input type=email multiple list=dl1><datalist id=dl1><option>keishi@webkit.org<option>tkent@chromium.org</datalist>
> > 
> > is working on Chromium
> > 
> > Is there any reason, why it's not working on type=text?
> 
> It works with type=text as our expectation. If you think something is wrong, please file a bug in crbug.com.

https://code.google.com/p/chromium/issues/detail?id=225336