Bug 222267 - Support :user-invalid / :user-valid pseudo-classes
Summary: Support :user-invalid / :user-valid pseudo-classes
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
Keywords: InRadar
Depends on:
Reported: 2021-02-22 05:56 PST by Emilio Cobos Álvarez (:emilio)
Modified: 2022-12-16 09:29 PST (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Cobos Álvarez (:emilio) 2021-02-22 05:56:40 PST

It's pretty useful to build form control UI without JS, since :invalid isn't suitable for that case.
Comment 1 Radar WebKit Bug Importer 2021-03-01 05:57:14 PST
Comment 2 Jorge Piñon 2022-01-28 08:51:20 PST
This would make form completion much better for users who currently see invalid messages even when they have yet to interact with an input.
Comment 3 Devin Rousso 2022-10-31 10:21:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5958
Comment 4 Tim Nguyen (:ntim) 2022-12-15 21:17:56 PST
Pull request: https://github.com/WebKit/WebKit/pull/7730
Comment 5 EWS 2022-12-16 09:29:25 PST
Committed 257997@main (9a503b34f22f): <https://commits.webkit.org/257997@main>

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