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

Test that if a focused element becomes expressly inert, it stops being focused #31776

Conversation

Loirooriol
Copy link
Contributor

https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule

Blink passes the test now, used to fail before https://crrev.com/941651
since enabling inertness was not enough, also needed a style recalc.

Firefox and WebKit fail the test since they don't seem to implement
the focus fixup at all, e.g. removing tabindex attr doesn't work either.

@wpt-pr-bot
Copy link
Collaborator

There are no reviewers for this pull request. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you!

…g focused

https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule

Blink passes the test now, used to fail before https://crrev.com/941651
since enabling inertness was not enough, also needed a style recalc.

Firefox and WebKit fail the test since they don't seem to implement
the focus fixup at all, e.g. removing tabindex attr doesn't work either.
@Loirooriol Loirooriol force-pushed the dynamic-inert-on-focused-element branch from 94df22a to 871ec4a Compare November 30, 2021 12:59
@Loirooriol Loirooriol merged commit ad30713 into web-platform-tests:master Nov 30, 2021
@Loirooriol Loirooriol deleted the dynamic-inert-on-focused-element branch November 30, 2021 13:26
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.

None yet

4 participants