Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index fade032976a20259bbd6ba58d8e284a9749f0595..b6431e740d79b1172ac23efa18d2fcb8eaf4ceca 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 (isImageButton() && name == srcAttr) || HTMLTextFormControlElement::hasLegalLinkAttribute(name); |
tkent
2014/03/18 01:23:31
We don't want to add new input-type check code in
Inactive
2014/03/18 02:10:22
I added the InputType::hasLegalLinkAttribute() vir
|
+} |
+ |
const AtomicString& HTMLInputElement::defaultValue() const |
{ |
return fastGetAttribute(valueAttr); |