Skip to content
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

[Gecko Bug 1791079] Implement User Activation API #42395

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

moz-wptsync-bot
Copy link
Collaborator

Rewrote internal user activation tree (spreading state to other elements)
logic to match HTML spec:
https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model

Added navigator.userActivation API to expose internal user activation.

Also fixed a WPT test to conform to spec (siblings are not activated),
see also spec issue: whatwg/html#9831

Co-authored-by: Tom Schuster evilpies@gmail.com

Differential Revision: https://phabricator.services.mozilla.com/D185348

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1791079
gecko-commit: 7c84c5fc7d0002a8bee64ebc66899437638331c6
gecko-reviewers: dom-core, webidl, saschanaz, edgar

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

Rewrote internal user activation tree (spreading state to other elements)
logic to match HTML spec:
https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model

Added navigator.userActivation API to expose internal user activation.

Also fixed a WPT test to conform to spec (siblings are not activated),
see also spec issue: whatwg/html#9831

Co-authored-by: Tom Schuster <evilpies@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D185348

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1791079
gecko-commit: fba49989dde6aa32244c622fd43abe19a32128ae
gecko-reviewers: dom-core, webidl, saschanaz, edgar
@moz-wptsync-bot moz-wptsync-bot merged commit de3513d into master Oct 8, 2023
20 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1791079 branch October 8, 2023 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants