[webkit-dev] New Feature Flag Proposal: TIME_INPUT_FIELDS

Peter Beverloo peter at chromium.org
Tue Jun 26 22:19:27 PDT 2012


On Tue, Jun 26, 2012 at 9:20 PM, Yosi Inoue <yosin at chromium.org> wrote:

> Hi WebKit!
>
> I would like to notify adding new feature flag ENABLE_TIME_INPUT_FIELDS.
>
> This flag will enable multiple fields input UI for input type "time".
>
> Looking is as same as input type "number" (including spin button), but
> each time component, hour, minute, second, millisecond, period(AM/PM), is
> fixed and handles keyboard input as overwriting rather than inserting, like
> Mac OSX's DateTime control.
>
> This feature will be enable for desktop version of Chrome (== excluding
> Android).
>

Android already enables time (and date) inputs, and defers to the
platform's input mechanisms. Will the appearances of the controls be
consolidated?

Peter

This flag also introduce following class and functions:
> * DateTimeFormat class
> * localizedDecimalSeparator()
> * localizedTimeFormat()
> * localizedShortTimeFormat()
> * DateTimeFIeldElement (for shadow DOM)
> * DateTimeEditElement (for shadow DOM)
>
> Thanks!
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120626/24bf842e/attachment.html>


More information about the webkit-dev mailing list