[Webkit-unassigned] [Bug 186151] [Datalist] Allow TextFieldInputType to show and hide suggestions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 7 17:39:20 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186151

--- Comment #10 from Aditya Keerthi <akeerthi at apple.com> ---
(In reply to Tim Horton from comment #9)
> Comment on attachment 342186 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=342186&action=review
> 
> > Source/WebCore/html/TextFieldInputType.cpp:568
> > +#if ENABLE(DATALIST_ELEMENT)
> > +    return true;
> > +#else
> >      return InputType::themeSupportsDataListUI(this);
> > +#endif
> 
> How does this work? If the control theme doesn’t support the UI for
> suggestion lists, how does this patch make it work?

The UI for suggestions will be the same for the TextFieldInputTypes, and all TextFieldInputTypes support showing suggestions. The UI itself will be added in the next patch. 

Range and color inputs will require different UI, as we can't simply show a dropdown list of values. For that reason, no changes have been made to their methods at this time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180608/2f11b226/attachment.html>


More information about the webkit-unassigned mailing list