cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
stratboy
Making moves
Status: In development

I'd like to ask devs when they think :has css selector will be finally fully implemented in firefox. In fact, it's the only browsers blocking this revolution in css authoring.

66 Comments
Honza
Employee
Employee

Support for CSS :has() has been enabled in Firefox 119 (Nightly channel atm)

You might also look at this bug/comment:

https://bugzilla.mozilla.org/show_bug.cgi?id=1853701#c8

 

Honza
Employee
Employee

Support for CSS :has() has been enabled in Firefox 119 (Nightly channel atm)

You might also look at this bug/comment

https://bugzilla.mozilla.org/show_bug.cgi?id=1853701#c7

 

stratboy
Making moves

😊💙

Kirin-808
New member

Thanks for bringing this game changer earlier, much appreciated!

rcarvalheira
New member

Great news! If no setback is found, how long would it usually take to go from Nightly to the production version?

arttag
New member

Looks like it's enabled in FF119: https://bugzilla.mozilla.org/show_bug.cgi?id=1853701

fgriffith
Employee
Employee

We will have a few tweaks to follow-up in 120 but all in all, we are pleased to get Has() done.

stratboy
Making moves

Evvivaaa!!! Grazie! Thank you!

Guenni007
New member

hm ?  So, we are used to some special behaviour from IE / Edge, but Firefox should not be so far behind - right?

ScreenShot 2023-10-02 um 14.19.58.jpg

CLampe
Making moves

@Guenni007"Firefox should not be so far behind"

That's also what I thought when I first heard of the `:has()` selector, but apparently it's the way it is, although they say it's enabled by default in Firefox Developer Edition since a few days. I can't confirm that (I've manually enabled the flag `layout.css.has-selector.enabled` before updating and it's still shown in bold with the revert to default button besides it in about:config) but I hope that it'll roll out within this year and I'm confident that that will actually happen, at least before the end of 2024.