| Index: Source/core/dom/ContainerNode.cpp
|
| diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
|
| index c81792c5d44f71d36032e2bb889cdc74c31be2f5..920f1bb97879c7e553784636846775c97a30d6d0 100644
|
| --- a/Source/core/dom/ContainerNode.cpp
|
| +++ b/Source/core/dom/ContainerNode.cpp
|
| @@ -1095,7 +1095,7 @@ void ContainerNode::setFocus(bool received)
|
| if (document().focusedElement() && document().focusedElement() != this) {
|
| Element* host = toElement(this);
|
| if (host->shadowRoot())
|
| - received = received && host->tabIndex() >= 0 && !host->tabStop();
|
| + received = received && host->tabIndex() >= 0 && host->shadowRoot()->delegatesFocus();
|
| }
|
|
|
| if (focused() == received)
|
|
|