Bug 257999 - :user-invalid triggering while typing date
Summary: :user-invalid triggering while typing date
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Intel) macOS 13
: P2 Normal
Assignee: Aditya Keerthi
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-12 20:49 PDT by Simon Welsh
Modified: 2023-12-20 06:59 PST (History)
3 users (show)

See Also:


Attachments
Example.html (276 bytes, text/html)
2023-06-12 20:49 PDT, Simon Welsh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Welsh 2023-06-12 20:49:35 PDT
Created attachment 466674 [details]
Example.html

Typing a date into a <input type="date" /> field triggers validation for :user-invalid immediately, rather than on blur.

Starting to type a date in the field in the attached example immediately shows a red border.
Comment 1 Radar WebKit Bug Importer 2023-06-12 21:50:33 PDT
<rdar://problem/110687369>
Comment 2 Aditya Keerthi 2023-12-17 19:45:25 PST
Pull request: https://github.com/WebKit/WebKit/pull/21948
Comment 3 EWS 2023-12-20 06:59:41 PST
Committed 272346@main (11990f0a5913): <https://commits.webkit.org/272346@main>

Reviewed commits have been landed. Closing PR #21948 and removing active labels.