Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 7952c58f83be743b8803e9610ed433ab59f45558..736d6166a972d3ff580c39b9786a19b79de3ff00 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -909,6 +909,7 @@ void HTMLInputElement::copyNonAttributePropertiesFromElement(const Element& sour |
setChecked(sourceElement.m_isChecked); |
m_reflectsCheckedAttribute = sourceElement.m_reflectsCheckedAttribute; |
m_isIndeterminate = sourceElement.m_isIndeterminate; |
+ m_inputType->copyNonAttributeProperties(sourceElement); |
HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(source); |
@@ -1319,7 +1320,7 @@ KURL HTMLInputElement::src() const |
return document().completeURL(fastGetAttribute(srcAttr)); |
} |
-FileList* HTMLInputElement::files() |
+FileList* HTMLInputElement::files() const |
{ |
return m_inputType->files(); |
} |