Skip to content

Commit

Permalink
Bug 1465104 [wpt PR 11229] - Move and simplify element.matches("*") t…
Browse files Browse the repository at this point in the history
…est so that it works, a=testonly

Automatic update from web-platform-testsMove and simplify element.matches("*") test so that it works (#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/wpt#11212.
--

wpt-commits: 7c0611d2ea5792fa8d9829d05aff1ab7fa648c67
wpt-pr: 11229
  • Loading branch information
foolip authored and jgraham committed Jul 11, 2018
1 parent 6e31a60 commit f8d543a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -564695,7 +564695,7 @@
"testharness"
],
"dom/nodes/selectors.js": [
"d23a6e88e198f4f0f4495d6fd2775408d0635371",
"be39e37d8486cc0a31bed9e1f1ee1176fa83b5d0",
"support"
],
"dom/ranges/Range-attributes.html": [
Expand Down
6 changes: 1 addition & 5 deletions testing/web-platform/tests/dom/nodes/selectors.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8d543a

Please sign in to comment.