Re: [csswg-drafts] [selectors-4] Should :user-valid and :user-invalid apply to form and fieldset elements? (#9257)

The newly added HTML spec currently explicitly does not apply the :user-* pseudos on fieldset / form, I haven't really thought too much about this personally.

If we really wanted to define those pseudos on fieldset / form, they could be defined as the equivalent of `:has(:user-invalid)` or `:has(:user-valid)` for the respective elements. From an user experience perspective that probably makes sense, though status quo is fine too.

cc @pxlcoder @emilio Any opinions?

-- 
GitHub Notification of comment by nt1m
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9257#issuecomment-1696392215 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 28 August 2023 20:49:46 UTC