Closed pkra closed 4 years ago
As per https://github.com/dperini/nwsapi/issues/33#issuecomment-603451027, I checked nwsapi/test/w3c/dom/nodes/Element-closest.html. The resuls are identical after this change: all tests in that pag pass except for the last test (complex :has) which fails in both browser and nwsapi.
Merged pull request from @pkra which fixes issue #33
Avoids throw on selector with repeated :scope.
Fixes #33