[Webkit-unassigned] [Bug 100935] [Meta] BaseDateAndTimeInputType should not inherit from TextFieldInputType

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 2 07:30:18 PDT 2012


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





--- Comment #1 from Kent Tamura <tkent at chromium.org>  2012-11-02 07:31:42 PST ---

Implementation of Date/time input types in Chromium-Android is hacky. We intercepts input events for the input types at outside of WebKit, and opens date/time pickers provided by Android system.  I guess iOS uses a similar way.

WebCore has interfaces to handle date/time chooser; ChromeClient::openDateTimeChooser, DateTimeChooser, and DateTimeChooserClient.

* Date/time types are not textfields essentially. BaseDateAndTimeInputType should stop inheriting from TextFieldInputType. It wastes memory.  A text block with -webkit-appearance:menulist would be enough.

* Use the existing date/time chooser interfaces, and stop the hack in Chromium-Android.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list