[wpt-sync] Sync PR 45803 - Atomic move: preserve focus
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45803 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45803
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Atomic move: preserve focus
We simply don't blur the element when moved.
If it moves into an inert/hidden subtree, it will be blurred
asynchronously in the next focus fixup.Bug: 40150299
Change-Id: I7966e7b1690dd4d654630daafa4d8ef646022a24
Reviewed-on: https://chromium-review.googlesource.com/5465724
WPT-Export-Revision: 0b3b6ba2ee601d6c6da98d0c4db9ad185695ce1a
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 4
Chrome
OK
: 1
FAIL
: 4
Safari
OK
: 1
FAIL
: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /dom/nodes/moveBefore/tentative/focus-preserve.html [wpt.fyi]
- when reparenting an element, don't automatically reset the document focus:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - when reparenting a focused element into an inert parent, reset the document focus:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - when reparenting a focused element into a hidden parent, reset the document focus:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - when reparenting an ancestor of an focused element into a hidden parent, reset the document focus:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- when reparenting an element, don't automatically reset the document focus:
Comment 4•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1218b6250e22
https://hg.mozilla.org/mozilla-central/rev/60796215f918
Description
•