Closed Bug 1947319 Opened 14 days ago Closed 12 days ago

[wpt-sync] Sync PR 50616 - [carousel] Focus after activating scroll marker is its scroll target

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Daniil Sakhapov <sakhapov@chromium.org> wrote:

[carousel] Focus after activating scroll marker is its scroll target

As per https://drafts.csswg.org/css-overflow-5/#scroll-target-focus,
when a scroll marker is activated, the next tabindex-ordered focus
navigation will focus the scroll target if it is focusable, otherwise,
it will find the next focusable element from the scroll target as though
it were focused.

This CL uses sequential navigation starting point to remember where to
start looking after scroll marker activation.

Note: it's not clear how to implement it for ::column::scroll-marker,
so it's left for the future CLs, and for now it will focus scroller.
Bug: 378698659
Change-Id: I1ff5ccdc9526f09a36faa387e8ad2f9a1dc26a54
Reviewed-on: https://chromium-review.googlesource.com/6097493
WPT-Export-Revision: 1c4747f16e89e82b037bbeda388a7c7feeebb10c

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/88dc95cb03b0 [wpt PR 50616] - [carousel] Focus after activating scroll marker is its scroll target, a=testonly https://hg.mozilla.org/integration/autoland/rev/1016694c0e53 [wpt PR 50616] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.