Closed Bug 1816116 Opened 2 years ago Closed 2 years ago

layout.css.has-selector.enabled css selector has()

Categories

(Firefox :: Untriaged, defect)

Firefox 109
defect

Tracking

()

RESOLVED DUPLICATE of bug 418039

People

(Reporter: mrbibi38, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

I tried to use the css has() selector.

As it doesn't work by default in Firefox, I followed the documentation and set the "layout.css.has-selector.enabled" option to true.

Actual results:

After activating this option, the css selector does not work. I tried with Google Chrome and it work.

Expected results:

The css selectors should work after enabling the associated option.

Summary: layout.css.has-selector.enabled css has → layout.css.has-selector.enabled css selector has()

The :has selector implementation is known to be unfinished and contain bugs, that is why it's disabled by default. You will have to wait for the implementation to be completed.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: has-pseudo
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.