Bug 222267 - Support :user-invalid / :user-valid pseudo-classes.
Summary: Support :user-invalid / :user-valid pseudo-classes.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-22 05:56 PST by Emilio Cobos Álvarez (:emilio)
Modified: 2022-08-19 08:45 PDT (History)
5 users (show)

See Also:


Attachments

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
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.