Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index b2a8f5b0e34898436374704bf04303866c09515a..016b8031a33e2c792d76d5cab68434a8525caf84 100644 |
--- a/Source/core/html/HTMLLinkElement.cpp |
+++ b/Source/core/html/HTMLLinkElement.cpp |
@@ -327,6 +327,11 @@ bool HTMLLinkElement::isURLAttribute(const Attribute& attribute) const |
return attribute.name().localName() == hrefAttr || HTMLElement::isURLAttribute(attribute); |
} |
+bool HTMLLinkElement::hasLegalLinkAttribute(const QualifiedName& name) const |
+{ |
+ return name == hrefAttr || HTMLElement::hasLegalLinkAttribute(name); |
+} |
+ |
KURL HTMLLinkElement::href() const |
{ |
return document().completeURL(getAttribute(hrefAttr)); |