Bug 249782

Summary: Remove keyboard input timeout for date, datetime-local, month, time, and week input types
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: akeerthi, cdumez, wenson_hsieh
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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 ***