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.
I need that 2.11%, I hope you guys get this feature out soon. It's a game-changer property. Time to scratch your butt and start coding haha, All the support to every developer at Mozilla 😊
@Honza Thank you so much for your update and thanks to the entire Mozilla team for their continued effort in bringing support for the :has() selector into Firefox. ❤️
is that 2.11% global users of the :has() feature or of the browser?
2.11% have that version of Firefox. About 2.5% have any version of Firefox. No version of Firefox supports this feature yet, except behind a flag.
people would have to wait quite a while before they could use it in production on commercial projects anyways
Not so. I'm using it somewhat frequently in Production. I use it as progressive enhancement for places where I can't change the otherwise inadequate HTML being used (a common problem I have no control over), where :has() is the only way to select just what I want. Those few users who have older versions of browsers or who have current versions of Firefox are just going to have a worse UI, but no worse than if I didn't use :has() at all.
AITA? I get that Mozilla can have more than one high priority going at the same time, but it is frustrating to see them fall behind when their competition seems to have already solved the same problems Mozilla is still struggling with. That's it. I do also appreciate the effort currently being put into this, and those who are working on it.
First of all, I'd like to express my support for all Firefox developers who are hard at work at implementing the :has pseudo class. I'm sure you're hard at work and I look forward to seeing this awesome feature being supported by Firefox soon.
Now, I have a request: Could you communicate you're progress on implementing the :has pseudo class more regularly and clearly? I've been following the corresponding bug for months now and updates come very sporadically. Right now, the last comment was made a month ago: https://bugzilla.mozilla.org/show_bug.cgi?id=418039
Achieving cross-browser support for :has is an explicit goal of Interop 2023 (https://wpt.fyi/interop-2023). This new pseudo-class enables web devs to write more efficient and performant CSS. It's a true game changer. Please Mozilla, let us know how far along you are and keep us up to date. 😉
@superpensando I am not a Mozilla representative but my understanding is that there's no date because the bug to implement the `:has()` selector is still being worked on. You can follow progress along by looking at the dependencies (search for "Depends On:") to get an idea about what other bugs still need to be resolved. You can also follow Firefox Release Trains to see where in the release cycle they are at any given point.
It's insane how the browser that once led the pack is now running so far behind everyone else. I keep running across things like this. This is creating a huge headache for me, it's like we've gone back to the days where you had to write separate code for IE, but now, Firefox is the one that that you wish everybody would just stop using so you wouldn't have do code browser-specific hacks. .