Baseline Widely Selectors
:user-valid and :user-invalid
The :user-valid and :user-invalid pseudo-classes match form controls that have been marked as valid or invalid based on their validation constraints.
Baseline Status
Widely Available
Since 2023-11-02
First Core Launch
Firefox 88
2021-04-19
Core-3 Stability
925d (2.5y)
Last: Chrome (2023-10-31)
BCD Keys Mapped
2
Group: Selectors
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 88 | 2021-04-19 |
| Firefox for Android | mobile | 88 | 2021-04-19 |
| Safari | desktop | 16.5 | 2023-05-18 |
| Safari on iOS | mobile | 16.5 | 2023-05-18 |
| Chrome | desktop | 119 | 2023-10-31 |
| Chrome Android | mobile | 119 | 2023-10-31 |
| Edge | desktop | 119 | 2023-11-02 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.selectors.user-invalid | CSS | 925d (2.5y) |
| css.selectors.user-valid | CSS | 925d (2.5y) |