- From: Kevin Babbitt via GitHub <noreply@w3.org>
- Date: Tue, 24 Jun 2025 23:19:01 +0000
- To: public-css-archive@w3.org
> Inconsistent API Signature: Element.pseudo() would return null for two different reasons (invalid pseudo selector string or valid selector on an incompatible element), making error handling more complex. I don't mind this "Con." If an author is looking to check for validity of a selector from script, I would point them to `CSS.supports()` instead. -- GitHub Notification of comment by kbabbitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12159#issuecomment-3002134652 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 24 June 2025 23:19:02 UTC