Bug 249782 - Remove keyboard input timeout for date, datetime-local, month, time, and week input types
Summary: Remove keyboard input timeout for date, datetime-local, month, time, and week...
Status: RESOLVED DUPLICATE of bug 238545
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 09:44 PST by Ahmad Saleem
Modified: 2022-12-22 19:52 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-12-22 09:44:26 PST
Hi Team,

While going through Blink's commit, I came cross following commit:

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=163682
WebKit GitHub Source - https://searchfox.org/wubkat/source/Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp#43 & https://searchfox.org/wubkat/source/Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp#177 etc

I am able to reproduce the issue, when trying to go to year-field and if you just type "19" and take one second and type "87", it will show "0087".

Link - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local

I think it might be causing some automated test cases failure as well.

Thanks!
Comment 1 Aditya Keerthi 2022-12-22 19:52:21 PST
This is intentional behavior on Apple ports, to align with the native date picker.

I don't expect to that the timeout will be removed, but I would like to increase it. However, that will need to be done in alignment with the native control.

*** This bug has been marked as a duplicate of bug 238545 ***