:has() works on featureless elements *if* the rest of the selector does too

Test passes if there is a filled green square.