github web-platform-tests/wpt merge_pr_47489

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
4 months ago

Ensure ancestors' focus are updated correctly when the focus moves from the nested iframe to a non-focusable top-level document element

In Gecko, the correct way of updating ancestors' focus is to adjust
the focus of the child document first, and then propagate that
to ancestors' chain.

This patch fixes a case where the focus of the ancestors are not
updated/cleared correctly when the focus moves from the nested
iframe to a non-focusable element in the top-level document.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1901689
gecko-commit: d2dd5f5adf2abe67ed2f9615b8bdcaf5d47827d6
gecko-reviewers: smaug

Don't miss a new wpt release

NewReleases is sending notifications on new releases.