I just did some checking and it seems “empty” means literally “nothing”
i.e.
<a ...></a>
and that child elements and link text are considered “something” so the empty selector won’t work for this.
Yes, I want the has selector !!!
The closest to it now is jQuery