Bug 100730 - F4 inside <input type=time> should not open calendar picker
Summary: F4 inside <input type=time> should not open calendar picker
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:
Blocks:
 
Reported: 2012-10-30 00:31 PDT by Keishi Hattori
Modified: 2012-10-30 22:49 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.78 KB, patch)
2012-10-30 00:49 PDT, Keishi Hattori
no flags Details | Formatted Diff | Diff
Patch (4.76 KB, patch)
2012-10-30 02:51 PDT, Keishi Hattori
no flags Details | Formatted Diff | Diff
Patch (4.71 KB, patch)
2012-10-30 04:41 PDT, Keishi Hattori
no flags Details | Formatted Diff | Diff
Patch (4.84 KB, patch)
2012-10-30 19:32 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-10-30 00:31:36 PDT
F4 inside <input type=time> should not open calendar picker
Comment 1 Keishi Hattori 2012-10-30 00:49:33 PDT
Created attachment 171385 [details]
Patch
Comment 2 Kent Tamura 2012-10-30 02:03:17 PDT
Comment on attachment 171385 [details]
Patch

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

> Source/WebCore/ChangeLog:12
> +        Test: platform/chromium/fast/forms/time/time-open-picker-key-bindings.html
> +
> +        * html/BaseMultipleFieldsDateAndTimeInputType.cpp:

Because this behavior is defined in BaseMultipleFIeldsDateAndTimeInputType, the test should be in fast/forms/time-multiple-fields/, not platform/chromium/fast/forms/time/.
Comment 3 Kent Tamura 2012-10-30 02:04:35 PDT
Comment on attachment 171385 [details]
Patch

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

> LayoutTests/platform/chromium/fast/forms/time/time-open-picker-key-bindings.html:19
> +var input = document.getElementById('time');
> +sendKey(input, "F4", false, false);
> +shouldBeNull('document.getElementById("mock-page-popup")');
> +sendKey(input, "Down", false, true);

nit: single/double quote usage is inconsistent.
Comment 4 Keishi Hattori 2012-10-30 02:51:41 PDT
Created attachment 171406 [details]
Patch
Comment 5 WebKit Review Bot 2012-10-30 04:03:56 PDT
Comment on attachment 171406 [details]
Patch

Attachment 171406 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/14551049

New failing tests:
fast/forms/time-multiple-fields/time-open-picker-key-bindings.html
Comment 6 Keishi Hattori 2012-10-30 04:41:12 PDT
Created attachment 171419 [details]
Patch
Comment 7 Kent Tamura 2012-10-30 06:04:31 PDT
Comment on attachment 171419 [details]
Patch

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

> Source/WebCore/ChangeLog:10
> +        Test: fast/forms/time-multiple-fields/time-open-picker-key-bindings.html

Please rename it to a name starting with time-multiple-fields-.
Comment 8 Keishi Hattori 2012-10-30 19:32:37 PDT
Created attachment 171567 [details]
Patch
Comment 9 WebKit Review Bot 2012-10-30 22:49:49 PDT
Comment on attachment 171567 [details]
Patch

Clearing flags on attachment: 171567

Committed r132985: <http://trac.webkit.org/changeset/132985>
Comment 10 WebKit Review Bot 2012-10-30 22:49:53 PDT
All reviewed patches have been landed.  Closing bug.