Skip to content

Commit

Permalink
Bug 1759031: Let user-action-pseudo-classes-in-has.html rely on act…
Browse files Browse the repository at this point in the history
…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

UltraBlame original commit: adc6a6f51dfa6facc44c1afe4bf3455c3bf32fad
  • Loading branch information
marco-c committed Nov 16, 2023
1 parent 2737ccf commit adfcb6b
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 287 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,22 @@ has
.
html
]
expected
:
if
os
=
=
"
mac
"
:
ERROR
[
CSS
Selectors
Invalidation
with
:
focus
:
focus
-
within
:
focus
user
-
visible
action
pseudo
classes
in
:
has
(
)
argument
]
expected
:
Expand All @@ -53,5 +40,4 @@ os
mac
"
:
TIMEOUT
FAIL

0 comments on commit adfcb6b

Please sign in to comment.