Re: [whatwg/dom] Element.matches and pseudo-elements (#185)

tabatkins left a comment (whatwg/dom#185)

lol whoops, what a ping.

Looks like this was fixed back in 2017. The algo was rewritten to no longer talk about pseudo-elements at all, so calling it with the selector `body::after` will just fail to return any matches.

As HTML is still calling the algorithm correctly, we can go ahead and close this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/185#issuecomment-4963090366
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/185/4963090366@github.com>

Received on Monday, 13 July 2026 21:54:19 UTC