Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Apr 25, 2025

Setting CSS property reading-flow on a carousel scroller is failing
DCHECKs for both the focus navigation and the accessibility tree. To
fix this use case,

  1. Relax the OwnedByReadingFlow to be element instead of HTMLElement.
    This is because pseudo-element can be reading flow item scope owners.
  2. Change Element::ReadingFlowChildren to add out of flow reading flow
    items in LayoutTreeBuilderTraversal instead of FlatTreeTraversal.
    This will add scroll marker and related pseudo elements.

Change-Id: Icbb523c4f93aff316a8f8bfcbf867e1ec781a1d7
Bug: 398280418, 412401428, 413659838
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6479432
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1451922}

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-6479432 branch 2 times, most recently from 016ec7c to 33022a2 Compare April 25, 2025 17:24
@chromium-wpt-export-bot chromium-wpt-export-bot marked this pull request as ready for review April 25, 2025 18:19
Setting CSS property reading-flow on a carousel scroller is failing
DCHECKs for both the focus navigation and the accessibility tree. To
fix this use case,
1. Relax the OwnedByReadingFlow to be element instead of HTMLElement.
   This is because pseudo-element can be reading flow item scope owners.
2. Change Element::ReadingFlowChildren to add out of flow reading flow
   items in LayoutTreeBuilderTraversal instead of FlatTreeTraversal.
   This will add scroll marker and related pseudo elements.

Change-Id: Icbb523c4f93aff316a8f8bfcbf867e1ec781a1d7
Bug: 398280418, 412401428, 413659838
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6479432
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1451922}
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 1f69a5a into master Apr 25, 2025
18 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-6479432 branch April 25, 2025 18:39
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.

4 participants