[reading-flow] Can render with carousel 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 is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.