| Index: third_party/WebKit/Source/core/page/FocusController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/FocusController.cpp b/third_party/WebKit/Source/core/page/FocusController.cpp
|
| index e7db0e88b3fb5fee07ff302a4ae00a7ad489d90b..24183898766552d15dcd2820c11909263f801ad6 100644
|
| --- a/third_party/WebKit/Source/core/page/FocusController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/FocusController.cpp
|
| @@ -373,7 +373,7 @@ inline bool isNonFocusableShadowHost(const Element& element)
|
|
|
| inline bool isNonKeyboardFocusableShadowHost(const Element& element)
|
| {
|
| - return isShadowHostWithoutCustomFocusLogic(element) && !element.isKeyboardFocusable();
|
| + return isShadowHostWithoutCustomFocusLogic(element) && !(element.shadowRootIfV1() ? element.isFocusable() : element.isKeyboardFocusable());
|
| }
|
|
|
| inline bool isKeyboardFocusableShadowHost(const Element& element)
|
|
|