Bug 83742 - Implement DataList UI for chromium
Summary: Implement DataList UI for chromium
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keishi Hattori
URL:
Keywords:
Depends on: 83762 83777
Blocks: 27247
  Show dependency treegraph
 
Reported: 2012-04-11 20:03 PDT by Keishi Hattori
Modified: 2013-03-28 01:27 PDT (History)
9 users (show)

See Also:


Attachments
Patch (24.19 KB, patch)
2012-04-11 21:46 PDT, Keishi Hattori
tkent: review-
Details | Formatted Diff | Diff
Patch (29.16 KB, patch)
2012-04-12 01:29 PDT, Keishi Hattori
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff
Reverted indentation fix (8.53 KB, patch)
2012-04-12 06:54 PDT, Keishi Hattori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keishi Hattori 2012-04-11 20:03:18 PDT
Show datalist suggestions in a popup
Comment 1 Keishi Hattori 2012-04-11 21:46:43 PDT
Created attachment 136823 [details]
Patch
Comment 2 Keishi Hattori 2012-04-11 21:47:54 PDT
isherman@ reviewed it
http://codereview.chromium.org/10037002/

chromium part is here
http://codereview.chromium.org/10024059/
Comment 3 WebKit Review Bot 2012-04-12 01:22:50 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 4 WebKit Review Bot 2012-04-12 01:23:12 PDT
Attachment 136823 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/chromium/ChangeLog', u'Sourc..." exit_code: 1
Source/WebKit/chromium/src/AutofillPopupMenuClient.cpp:102:  Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side.  [whitespace/operators] [4]
Source/WebKit/chromium/src/WebInputElement.cpp:39:  Alphabetical sorting problem.  [build/include_order] [4]
Source/WebKit/chromium/public/WebInputElement.h:42:  Code inside a namespace should not be indented.  [whitespace/indent] [4]
Total errors found: 3 in 12 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Keishi Hattori 2012-04-12 01:26:05 PDT
Oops, I uploaded an old patch. I will upload a new one.
Comment 6 Kent Tamura 2012-04-12 01:28:06 PDT
Comment on attachment 136823 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=136823&action=review

> Source/WebKit/chromium/ChangeLog:8
> +        Implement DataList UI for chromium
> +        https://bugs.webkit.org/show_bug.cgi?id=83742
> +
> +        Expose HTMLDataListElement in the WebKitAPI.
> +        Introduce MenuItemIDs.
> +

This patch doesn't implement the UI, do it? The summary looks not concrete.

I think adding WebDataListElement and the autofill-related changes should be separated patches.
Also, you should explain why you'd like to make these changes in ChangeLog.

> Source/WebKit/chromium/public/WebAutofillClient.h:36
> +enum {

This should be put inside of WebAutofillClient class.

> Source/WebKit/chromium/public/WebAutofillClient.h:62
> -                                             int uniqueID,
> +                                             int itemID,

You have to update the explanation of uniqueID in the comment.

> Source/WebKit/chromium/public/WebDataListElement.h:44
> +// Provides readonly access to some properties of a DOM input element node.

input -> datalist
Comment 7 Keishi Hattori 2012-04-12 01:29:56 PDT
Created attachment 136849 [details]
Patch
Comment 8 WebKit Review Bot 2012-04-12 01:54:49 PDT
Comment on attachment 136849 [details]
Patch

Attachment 136849 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/12387587
Comment 9 Keishi Hattori 2012-04-12 06:54:30 PDT
Created attachment 136897 [details]
Reverted indentation fix
Comment 10 darby.webkit 2012-05-06 10:09:41 PDT
Complete newbie to webkit bugzilla here, so I hope I'm not committing any transgressions.  Thanks so much for all your work on this.  Just wanted to point out that this doesn't seem to be working for input elements with the 'email' type (but does for those with 'tel', 'url', or 'search').
Comment 11 Keishi Hattori 2012-05-06 17:24:26 PDT
(In reply to comment #10)
> Complete newbie to webkit bugzilla here, so I hope I'm not committing any transgressions.  Thanks so much for all your work on this.  Just wanted to point out that this doesn't seem to be working for input elements with the 'email' type (but does for those with 'tel', 'url', or 'search').

Thanks! Datalist for email type is disabled intensionally because we are still working on it.
https://bugs.webkit.org/show_bug.cgi?id=84346
Comment 12 darby.webkit 2012-05-06 20:04:48 PDT
(In reply to comment #11)
> (In reply to comment #10)
> > Complete newbie to webkit bugzilla here, so I hope I'm not committing any transgressions.  Thanks so much for all your work on this.  Just wanted to point out that this doesn't seem to be working for input elements with the 'email' type (but does for those with 'tel', 'url', or 'search').
> 
> Thanks! Datalist for email type is disabled intensionally because we are still working on it.
> https://bugs.webkit.org/show_bug.cgi?id=84346

Ah, apologies for missing that.  Thanks!
Comment 13 Kent Tamura 2013-03-28 01:27:28 PDT
done