Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 65ae13bd3610fff548314311abcde5ad1d9eaef5..b8e6f77aaa3189a8402ebfbf350028745b13b083 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1404,6 +1404,10 @@ void Element::recalcStyle(StyleChange change) |
// common, especially during lazy attach. |
newStyle = styleForRenderer(); |
localChange = Node::diff(currentStyle.get(), newStyle.get(), document()); |
+ } else if (attached() && isActiveInsertionPoint(this)) { |
+ // Active InsertionPoints will never have renderers so there's no reason to |
+ // reattach them repeatedly once they're already attached. |
+ localChange = change; |
} |
if (localChange == Detach) { |
AttachContext reattachContext; |