Spec: http://w3c.github.io/webcomponents/spec/shadow/#sequential-focus-navigation Slot can now have a tabindex, which should be considered in the focus scope.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e9f6cc8df5886e724680b9141fbbdebdaabc3d2b commit e9f6cc8df5886e724680b9141fbbdebdaabc3d2b Author: yuzus <yuzus@chromium.org> Date: Fri Apr 01 08:03:51 2016 Consider slots' tabindex in focus navigation This CL changes focus navigation with slots which have tabindex; the tab indices no longer be ignored but be considered. See the spec here: http://w3c.github.io/webcomponents/spec/shadow/#sequential-focus-navigation BUG= 599388 Review URL: https://codereview.chromium.org/1848753002 Cr-Commit-Position: refs/heads/master@{#384516} [add] https://crrev.com/e9f6cc8df5886e724680b9141fbbdebdaabc3d2b/third_party/WebKit/LayoutTests/shadow-dom/slot-with-tabindex.html [modify] https://crrev.com/e9f6cc8df5886e724680b9141fbbdebdaabc3d2b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp [modify] https://crrev.com/e9f6cc8df5886e724680b9141fbbdebdaabc3d2b/third_party/WebKit/Source/core/html/HTMLSlotElement.h [modify] https://crrev.com/e9f6cc8df5886e724680b9141fbbdebdaabc3d2b/third_party/WebKit/Source/core/page/FocusController.cpp
Comment 1 by yuzus@chromium.org
, Mar 31 2016