Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 7d1ea14ccd552d288052ba2669cac13fe3b98a0b..19e8505d5ce315eaadb553d46202f88b688ba91e 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -358,8 +358,8 @@ public: |
bool active() const { return isUserActionElement() && isUserActionElementActive(); } |
bool inActiveChain() const { return isUserActionElement() && isUserActionElementInActiveChain(); } |
bool hovered() const { return isUserActionElement() && isUserActionElementHovered(); } |
- // Note: As a shadow host whose tabStop=false may become focused state when an inner element |
- // gets focused in its shadow, in that case more than one elements in a document can return |
+ // Note: As a shadow host whose root with delegatesFocus=false may become focused state when |
+ // an inner element gets focused, in that case more than one elements in a document can return |
// true for |focused()|. Use Element::isFocusedElementInDocument() or Document::focusedElement() |
// to check which element is exactly focused. |
bool focused() const { return isUserActionElement() && isUserActionElementFocused(); } |