you can has :has()

Wait.

Firefox actually supports :has() now?!

comments