Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 9078c6e92d0555b5ccb433fdd73498f4ec333548..1e371767cbe90be9dddca634519ce910bddf26c9 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1438,7 +1438,7 @@ Node::InsertionNotificationRequest HTMLInputElement::insertedInto(ContainerNode* |
if (insertionPoint->inDocument() && !form()) |
addToRadioButtonGroup(); |
resetListAttributeTargetObserver(); |
- return InsertionDone; |
+ return InsertionShouldCallDidNotifySubtreeInsertions; |
} |
void HTMLInputElement::removedFrom(ContainerNode* insertionPoint) |
@@ -1886,4 +1886,9 @@ bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St |
return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue); |
} |
+void HTMLInputElement::didNotifySubtreeInsertionsToDocument() |
+{ |
+ listAttributeTargetChanged(); |
+} |
+ |
} // namespace |