| Index: Source/WebCore/dom/Element.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/Element.cpp (revision 139656)
|
| +++ Source/WebCore/dom/Element.cpp (working copy)
|
| @@ -739,7 +739,7 @@
|
| // If there is an Attr node hooked to this attribute, the Attr::setValue() call below
|
| // will write into the ElementAttributeData.
|
| // FIXME: Refactor this so it makes some sense.
|
| - if (RefPtr<Attr> attrNode = attrIfExists(name))
|
| + if (RefPtr<Attr> attrNode = inSynchronizationOfLazyAttribute ? 0 : attrIfExists(name))
|
| attrNode->setValue(newValue);
|
| else
|
| mutableAttributeData()->attributeItem(index)->setValue(newValue);
|
|
|