Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index b69bcd30d4d81d43c05ed5ca03605f1a7d3ff879..d6fa5c1062830b0f6e856870154fbc20309c93eb 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -3280,6 +3280,7 @@ void Element::removeAllInlineStyleProperties() |
void Element::updatePresentationAttributeStyle() |
{ |
+ synchronizeAllAttributes(); |
// ShareableElementData doesn't store presentation attribute style, so make sure we have a UniqueElementData. |
UniqueElementData& elementData = ensureUniqueElementData(); |
elementData.m_presentationAttributeStyleIsDirty = false; |