:user-valid and :user-invalid
Newly available since 2023-11-02
The :user-valid
and :user-invalid
pseudo-classes match form controls that have been marked as valid or invalid based on their validation constraints.
Learning resources on MDN
Browser support
- Chrome 119 Released on 2023-10-31
- Chrome Android 119 Released on 2023-10-31
- Edge 119 Released on 2023-11-02
- Firefox 88 Released on 2021-04-19
- Firefox for Android 88 Released on 2021-04-19
- Safari 16.5 Released on 2023-05-18
- Safari on iOS 16.5 Released on 2023-05-18