The fact that the native :has pseudo-class: https://drafts.csswg.org/selectors/#relational takes forgiving-relative-selector-list as an argument: https://drafts.csswg.org/selectors/#forgiving-selector means the contents are not validated. jQuery has supported the :has pseudo-class for ages. However, its support is more powerful; in particular, it allows for jQuery extensions like :contains to appe