Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index fade032976a20259bbd6ba58d8e284a9749f0595..d57c93a38929315862ae4451f62c97aafea7c853 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1206,6 +1206,11 @@ bool HTMLInputElement::isURLAttribute(const Attribute& attribute) const |
return attribute.name() == srcAttr || attribute.name() == formactionAttr || HTMLTextFormControlElement::isURLAttribute(attribute); |
} |
+bool HTMLInputElement::hasLegalLinkAttribute(const QualifiedName& name) const |
+{ |
+ return m_inputType->hasLegalLinkAttribute(name) || HTMLTextFormControlElement::hasLegalLinkAttribute(name); |
+} |
+ |
const AtomicString& HTMLInputElement::defaultValue() const |
{ |
return fastGetAttribute(valueAttr); |