Bug 222267

Summary: Support :user-invalid / :user-valid pseudo-classes.
Product: WebKit Reporter: Emilio Cobos Álvarez (:emilio) <emilio>
Component: CSSAssignee: Devin Rousso <hi>
Status: NEW ---    
Severity: Normal CC: anthonyryan1, firefoxic.dev, jorge.pinon, rik, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Emilio Cobos Álvarez (:emilio) 2021-02-22 05:56:40 PST
https://drafts.csswg.org/selectors/#user-pseudos

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
<rdar://problem/74866546>
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