Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 6d8dc594f20539c21e4f8d93fbd9c4eee9d1dbf5..ab5730fc585d2ee2f73f2cd267b65b419f6a6d78 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -44,6 +44,7 @@ |
#include "core/events/MutationEvent.h" |
#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLFrameOwnerElement.h" |
+#include "core/html/HTMLInputElement.h" |
#include "core/html/HTMLTagCollection.h" |
#include "core/html/RadioNodeList.h" |
#include "core/inspector/InspectorInstrumentation.h" |
@@ -780,6 +781,9 @@ void ContainerNode::notifyNodeInserted(Node& root) |
NodeVector postInsertionNotificationTargets; |
notifyNodeInsertedInternal(root, postInsertionNotificationTargets); |
+ if (isHTMLInputElement(root) && toHTMLInputElement(root).dataList()) |
+ toHTMLInputElement(root).listAttributeTargetChanged(); |
esprehn
2014/07/16 19:43:49
I think you might want to use didNotifySubtreeInse
|
+ |
for (size_t i = 0; i < postInsertionNotificationTargets.size(); ++i) { |
Node* targetNode = postInsertionNotificationTargets[i].get(); |
if (targetNode->inDocument()) |