-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1759031: Let
user-action-pseudo-classes-in-has.html
rely on act…
…ions being completed. r=emilio Previously, the test relied upon event listener to listen to related events: e.g. `mousedown` event on `Actions().pointerDown()`. However, as comments in whatwg/html#7578 indicate when `:active` matches does not seem to be interoperable across browsers with different inputs. Instead rely on the action sequence being completed, as done with a simliar test, `html/semantics/selectors/pseudo-classes/active-disabled.html`. Differential Revision: https://phabricator.services.mozilla.com/D193463
- Loading branch information
Showing
2 changed files
with
68 additions
and
72 deletions.
There are no files selected for viewing
7 changes: 2 additions & 5 deletions
7
...g/web-platform/meta/css/selectors/invalidation/user-action-pseudo-classes-in-has.html.ini
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
[user-action-pseudo-classes-in-has.html] | ||
expected: | ||
if os == "mac": ERROR | ||
[Invalidation with :focus, :focus-within, :focus-visible in :has()] | ||
[CSS Selectors Invalidation: user-action pseudo classes in :has() argument] | ||
expected: | ||
if os == "mac": TIMEOUT | ||
FAIL | ||
if os == "mac": FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters