There are no implementations of :has() in .querySelector and the like. However, we do have implementations of :has() in PDF renderers: https://un5gmtkzgjcwzc5w339wzd8.julianrbryant.com/doc-refs/#sel-logical
The spec should be updated to reflect this.