Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Unified Diff: Source/core/dom/Element.cpp

Issue 684633006: Reattach whitespace siblings only when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index f8fb5ae543456ddfd04a7ebbffc8784b67665ed4..cd40f7e05459dd852a51c18b56874ff353a5d1f7 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -1523,7 +1523,7 @@ void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling)
didRecalcStyle(change);
if (change == Reattach)
- reattachWhitespaceSiblings(nextTextSibling);
+ reattachWhitespaceSiblingsIfNeeded(nextTextSibling);
}
StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)

Powered by Google App Engine
This is Rietveld 408576698