Prevent focusing an invisible item in context menu by keyboard.
We have been using hidden=true attribute to hide some menu items. We started to use display=none CSS attiribute for the same purpose, so that it can change visibility of items by changing an attribute of the parent node. https://chromium-review.googlesource.com/c/566768/15/ui/file_manager/file_manager/foreground/css/file_manager.css The logic for keyboard focus should also skip items hidden by that way. Bug: 748504 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Ia4c6cffcc9ac5e64c64da7644622ebf2949727e0 Reviewed-on: https://chromium-review.googlesource.com/597386Reviewed-by:Michael Giuffrida <michaelpg@chromium.org> Commit-Queue: Tatsuhisa Yamaguchi <yamaguchi@chromium.org> Cr-Commit-Position: refs/heads/master@{#491926}
Showing
Please register or sign in to comment