[whatwg/dom] Correct step in matches() (#923)

It needs to pass this rather than an undefined variable. Also clean up the algorithm a bit.

Fixes #921.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/923

-- Commit Summary --

  * Correct step in matches()

-- File Changes --

    M dom.bs (22)

-- Patch Links --

https://github.com/whatwg/dom/pull/923.patch
https://github.com/whatwg/dom/pull/923.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/923

Received on Wednesday, 11 November 2020 13:42:16 UTC