Wait.
Firefox actually supports :has() now?!
:has()
?
Firefox supports the CSS selector :has()
https://google.com/search?q=css+has
https://developer.mozilla.org/en-US/docs/Web/CSS/:has
yes