[wpt-sync] Sync PR 50616 - [carousel] Focus after activating scroll marker is its scroll target
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
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
Assignee | ||
Updated•14 days ago
|
Assignee | ||
Comment 1•14 days ago
|
||
Assignee | ||
Comment 2•14 days ago
|
||
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
- /css/css-overflow/scroll-marker-next-focus.html [wpt.fyi]
- CSS Test: next focus search start after ::scroll-marker activation is from its ultimate originating element:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- CSS Test: next focus search start after ::scroll-marker activation is from its ultimate originating element:
Comment 4•12 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/88dc95cb03b0
https://hg.mozilla.org/mozilla-central/rev/1016694c0e53
Description
•