commit | c23e706741a8e9ac6b99c9bf57830184afca3cec | [log] [tgz] |
---|---|---|
author | Esmael El-Moslimany <aee@chromium.org> | Fri Oct 26 04:22:35 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 26 04:22:35 2018 |
tree | 248e6c1f204ed4aad16b42d375f4e0b4eb52681a | |
parent | d3add75d856ff1ce3179e8e361469aa544a67c5c [diff] |
Settings WebUI: focus on section instead of container The container was given focus so that after the menu (dialog) closed, the settings would regain focus and to allow arrow keys to update the scroll position. This introduced the regression that pressing tab moves focus to the first control (as well as https://crbug.com/708960 and https://crbug.com/709359 which are fixed in subsequent CLs). This CL adds a condition that if a section was selected, it will gain focus, otherwise the container gains focus, as was the preexisting fix for https://crbug.com/707106 and related changes that closely followed. Bug: 870732 Change-Id: Ic0ae5b44f2778a56999297018427a9fda9f19eb1 Reviewed-on: https://chromium-review.googlesource.com/c/1284064 Commit-Queue: Esmael El-Moslimany <aee@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#602990}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .