Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index 33e6a318c7b93d13044a36ad4a3bce30857debed..f71f2c8822cc7b2144897072bb35e26a2b2dcdd7 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -301,6 +301,11 @@ bool HTMLAnchorElement::isURLAttribute(const Attribute& attribute) const |
return attribute.name().localName() == hrefAttr || HTMLElement::isURLAttribute(attribute); |
} |
+bool HTMLAnchorElement::hasLegalLinkAttribute(const QualifiedName& name) const |
+{ |
+ return name == hrefAttr || HTMLElement::hasLegalLinkAttribute(name); |
+} |
+ |
bool HTMLAnchorElement::canStartSelection() const |
{ |
// FIXME: We probably want this same behavior in SVGAElement too |