Post

I feel like this is the same issue they had with :has() and why it took so long to fix. You have been able to do selector+* for a long time to get its sibling, but until recently you couldn't do selector:has(+*) to get the element that has a sibling.