Settings and History: Fix focus issues
The 3 linked bugs are all due to an issue with refocusing a list item from an element after the last control. In this case, the last control should be refocused, not the first control. This case can be identified by the first element in the focus event's path. This will be the list item itself if focus is coming from outside the control from an element that is before the list item in the tab order. It will be the last control if focus is coming from an element that is after the list item in the tab order. Bug: 908330, 908323, 908014 Change-Id: Ie2289547470e2f66cd9285d29e9ed1e0ab3207c1 Reviewed-on: https://chromium-review.googlesource.com/c/1351713 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:Scott Chen <scottchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#611536}
Showing
Please register or sign in to comment