WPT details: https://wpt.fyi/results/css/selectors/parsing/parse-has.html
Make :has() unforgiving - ':has()' will be invalid if there is an invalid selector in its argument. CSSWG issue resolution: https://github.com/w3c/csswg-drafts/issues/7676#issuecomment-1341347244