Closed Bug 1796616 Opened 3 years ago Closed 3 years ago

version 106 no longer supports :where() CSS selector

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 106
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: bat, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

In version 106 of Firefox, the :where() selector seems to no longer be supported.

Open your console on any page and enter the following and hit return:

CSS.supports('selector(:where())') 

Actual results:

The value returned is false

Expected results:

The value returned should be true

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core

This is the correct behavior. You should use CSS.supports('selector(:where(*))'), or any other actually valid selector. See bug 1789248.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID

Thanks for prompt feedback - that makes sense!

You need to log in before you can comment on or make changes to this bug.