Closed Bug 2094913 Opened 11 days ago Closed 9 days ago

[wpt-sync] Sync PR 64336 - Test blur() before asynchronous focus fixup

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Domenic Denicola <d@domenic.me> wrote:

Test blur() before asynchronous focus fixup

Cover explicit blur() after hiding a focused textarea's ancestor, with and without a layout flush, and after disabling the textarea. Check that focus fixup has not happened before blur(), then that blur() synchronously releases focus and fires a blur event.

These cases exercise the unfocusing steps when the target is still focused but is no longer focusable. The existing focus-fixup timing tests do not call blur().


Spec PR incoming.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
PASS: 3

Chrome

OK : 1
PASS: 3

Safari

OK : 1
PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.