| commit | a7623c31b474461a50cbdd22cfcb1f2bd9e00ba1 | [log] [tgz] |
|---|---|---|
| author | Morten Stenshorne <mstensho@chromium.org> | Tue Mar 11 23:15:47 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 11 23:15:47 2025 |
| tree | f0358a1c34803480d70b81d3f5071f75977747fc | |
| parent | bce623ebb7aa37ec54d09f5bdffe6891ce239ec3 [diff] |
[carousel] Focus a column from ::column::scroll-marker. Add support for focusing column content from a column scroll marker (activate a scroll marker, then press tab). Since columns are in fragment tree order, whereas focus switching operates on the DOM tree in DOM order, some extra attention is required. Look for all Element subtree roots inside the column, and then sort those in DOM order. There's one thing missing, and that is culled inlines. If a column starts with a focusable non-atomic inline (e.g. a plain A element), we'll fail to find it in the fragment tree, since they get culled instead of creating a proper fragment. Will fix that in a follow-up. Bug: 378698659 Change-Id: Ice52d93946b06be2dc616328bac9838cb803e4a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6335848 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1431220}
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.