Skip to content

Commit 7c0611d

Browse files
authored
Move and simplify element.matches("*") test so that it works (web-platform-tests#11229)
The reason it didn't work before was because in Element-matches.js, it's always `someElement.matches("*")` being tested, which is the only thing that could be tested as there's not other "context" or "reference node" involved in the API surface. All of TEST_FIND is actually dead code, so dropping that is harmless. Fixes web-platform-tests#11212.
1 parent 53f7340 commit 7c0611d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dom/nodes/selectors.js

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)