summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/Attr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/Attr.cpp')
-rw-r--r--Source/WebCore/dom/Attr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/dom/Attr.cpp b/Source/WebCore/dom/Attr.cpp
index e3ae348..346a819 100644
--- a/Source/WebCore/dom/Attr.cpp
+++ b/Source/WebCore/dom/Attr.cpp
@@ -69,6 +69,8 @@ void Attr::createTextChild()
textNode->setParent(this);
setFirstChild(textNode.get());
setLastChild(textNode.get());
+ textNode->updateNextNode();
+ textNode->updatePreviousNode();
}
}