Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jan 9, 2026

If the initial starting element is a non-focusable element with
scroll-marker pseudo-element, we should not continue to search for next
focusable element, as we reach that non-focusable element from the
::scroll-marker pseudo-element via a special path in
Document::SequentialFocusNavigationStartingPoint, and once we reach
here, it's basically the same condition as tab_index being 0.

The test change is due to ::scroll-marker's specific behaviour which
can change the focused element. When other pseudo-elements will be made
focusable, the test will be updated.

Fixed: 459088197
Change-Id: I9f0c5c5d20457e4fea529442e76b7ebf9a9170a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7280304
Commit-Queue: Daniil Sakhapov <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1566853}

If the initial starting element is a non-focusable element with
scroll-marker pseudo-element, we should not continue to search for next
focusable element, as we reach that non-focusable element from the
::scroll-marker pseudo-element via a special path in
Document::SequentialFocusNavigationStartingPoint, and once we reach
here, it's basically the same condition as tab_index being 0.

The test change is due to ::scroll-marker's specific behaviour which
can change the focused element. When other pseudo-elements will be made
focusable, the test will be updated.

Fixed: 459088197
Change-Id: I9f0c5c5d20457e4fea529442e76b7ebf9a9170a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7280304
Commit-Queue: Daniil Sakhapov <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1566853}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 9bdfdeb into master Jan 9, 2026
27 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7280304 branch January 9, 2026 14:43
Copy link

@zainudinmuji4-commits zainudinmuji4-commits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.github/workflows/spelling2.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants