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: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | akeerthi, cdumez, wenson_hsieh |
| Priority: | P2 | ||
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Aditya Keerthi
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 ***