| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index a035423ce39d4d6bca7001e8016723235f1a233b..837222ef47dd39c0a346614f4dc17f53e11a5437 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -579,26 +579,6 @@ bool SVGElement::inUseShadowTree() const
|
| return correspondingUseElement();
|
| }
|
|
|
| -bool SVGElement::supportsSpatialNavigationFocus() const
|
| -{
|
| - // This function checks whether the element satisfies the extended criteria
|
| - // for the element to be focusable, introduced by spatial navigation feature,
|
| - // i.e. checks if click or keyboard event handler is specified.
|
| - // This is the way to make it possible to navigate to (focus) elements
|
| - // which web designer meant for being active (made them respond to click events).
|
| -
|
| - if (!document().settings() || !document().settings()->spatialNavigationEnabled())
|
| - return false;
|
| - return hasEventListeners(EventTypeNames::click)
|
| - || hasEventListeners(EventTypeNames::keydown)
|
| - || hasEventListeners(EventTypeNames::keypress)
|
| - || hasEventListeners(EventTypeNames::keyup)
|
| - || hasEventListeners(EventTypeNames::focus)
|
| - || hasEventListeners(EventTypeNames::blur)
|
| - || hasEventListeners(EventTypeNames::focusin)
|
| - || hasEventListeners(EventTypeNames::focusout);
|
| -}
|
| -
|
| void SVGElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| if (name == HTMLNames::classAttr) {
|
|
|