Bug 84346
Summary: | [Chromium] datalist: Wrong behavior for <input type=email multiple> | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kent Tamura <tkent> |
Component: | Forms | Assignee: | 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 |
Kent Tamura
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Keishi Hattori
Here is a chromium Mac build with support for email multiple.
https://docs.google.com/open?id=0BwRi59l_ri74ZHVKVnhaYjN3SjA
Bronislav Klucka
Any plans for Windows build?
Kent Tamura
(In reply to comment #2)
> Any plans for Windows build?
Do you mean Safari/WIndows, not Chromium/Windows?
Kent Tamura
(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.
Bronislav Klucka
(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)
Kent Tamura
(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.
Bronislav Klucka
(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?
Kent Tamura
(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.
Bronislav Klucka
(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