When I check the :has() CSS selector on caniuse.com, it tells me that since Firefox103 it has been
:has()
Supported in Firefox behind the layout.css.has-selector.enabled flag.
So how do I find this flag and enable it?
Go to the Firefox about:config page, then search and toggle layout.css.has-selector.enabled.
about:config
layout.css.has-selector.enabled