-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing in all browsers test in dom/nodes/Element-matches.html #11212
Comments
Same problem with the sibling file, Element-webkitMatchesSelector.html |
Source is here: Line 442 in 91d7e29
|
Actually, it's Line 451 in ccd3580
Don't know how I ended up at that older commit through the GitHub UI... |
Possibly related: #1577 This is more of a Selectors test; cc @tabatkins @fantasai |
A problem I noticed trying to debug this is that selectors.js is written as if
And it's written to test |
Those APIs turned into |
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 #11212.
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 #11212.
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 #11212.
…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
…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 UltraBlame original commit: f683999cbef1b9561302c4d5452a100cbd47de99
…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 UltraBlame original commit: f683999cbef1b9561302c4d5452a100cbd47de99
…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 UltraBlame original commit: f683999cbef1b9561302c4d5452a100cbd47de99
In-document Element.matches: Universal selector, matching all descendants of the specified reference element (with refNode Element): *
in https://wpt.fyi/results/dom/nodes/Element-matches.html seems suspicious.The text was updated successfully, but these errors were encountered: