Bug 257999

Summary: :user-invalid triggering while typing date
Product: WebKit Reporter: Simon Welsh <simon>
Component: CSSAssignee: Aditya Keerthi <akeerthi>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Intel)   
OS: macOS 13   
Attachments:
Description Flags
Example.html none

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.