Closed Bug 1811404 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38074 - Add delegatesFocus check to tabindex blurs

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38074 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38074
Details from upstream follow.

Joey Arhar <jarhar@chromium.org> wrote:

Add delegatesFocus check to tabindex blurs

Element::AttributeChanged will blur itself if its tabindex changes and
the element no longer supports focus. However, this check for supporting
focus does not consider delegatesFocus. This patch adds a check for a
child focusable element in the case that delegatesFocus is present.

Fixed: 1350218
Change-Id: I2757c9e4c103e98d3f32c8f73cdca9f7930c0d23

Reviewed-on: https://chromium-review.googlesource.com/4182591
WPT-Export-Revision: 4bd66a34de65e3c74d660cc560b5d6c720bba22d

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/078c7c70499c [wpt PR 38074] - Add delegatesFocus check to tabindex blurs, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.