Index: Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
index 1ec6fcadd8e14abd26b2d4578f0ccc9b7c93e9eb..ebb3054544bfbc5ae805dda1cfb3ab394019dc3c 100644 |
--- a/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/Source/modules/accessibility/AXNodeObject.cpp |
@@ -345,17 +345,6 @@ void AXNodeObject::elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Ele |
} |
} |
-// If you call node->hasEditableStyle() since that will return true if an ancestor is editable. |
-// This only returns true if this is the element that actually has the contentEditable attribute set. |
-bool AXNodeObject::hasContentEditableAttributeSet() const |
-{ |
- if (!hasAttribute(contenteditableAttr)) |
- return false; |
- const AtomicString& contentEditableValue = getAttribute(contenteditableAttr); |
- // Both "true" (case-insensitive) and the empty string count as true. |
- return contentEditableValue.isEmpty() || equalIgnoringCase(contentEditableValue, "true"); |
-} |
- |
bool AXNodeObject::isGenericFocusableElement() const |
{ |
if (!canSetFocusAttribute()) |