Title says it all. You may want to support the :is() and :where() CSS pseudo-classes, which are already supported by all major browsers, except the now-defunct IE. I searched on the UXP issues but didn't find a ticket about them.
Note that contrarily to :not(), their parameter is a forgiving selector list.
Support :is() and :where() CSS pseudo-classes
Moderators: trava90, athenian200
-
- Moonbather
- Posts: 50
- Joined: 2021-05-30, 03:48
-
- Project Contributor
- Posts: 204
- Joined: 2020-03-02, 16:04
Re: Support :is() and :where() CSS pseudo-classes
Are there any particular reasons to prioritize this against currently known issues? "Google one day pushed one more shiny and Mozilla blindly followed" is not such reason.
-
- Add-ons Team
- Posts: 582
- Joined: 2017-01-14, 02:40
- Location: Philippines
Re: Support :is() and :where() CSS pseudo-classes
On a side note, we do have partial support for this pseudo-class function in the form of :-moz-any, but it will have to be updated to conform to the new spec.
-
- Moonbather
- Posts: 50
- Joined: 2021-05-30, 03:48
-
- Moonbather
- Posts: 50
- Joined: 2021-05-30, 03:48
-
- Moonbather
- Posts: 50
- Joined: 2021-05-30, 03:48
Re: Support :is() and :where() CSS pseudo-classes
For the record, the jQuery 3.6.4 release led me to this note:
To add to that, a recent CSSWG resolution made ":is()" & ":where()" the only pseudos with forgiving parsing; browsers are in the process of making ":has()" parsing unforgiving.