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

Unified Diff: Source/core/dom/Node.h

Issue 58373002: Whitespace only text nodes need to be reattached when their siblings are reattached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixing reattach logic and killing WhitespaceChildList. Will probably need some updated mac expectat… Created 7 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/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 1fe0467f9e3dfae905f5854fa1b554ba67bbd627..cd42ccf628aeafbb40c5d2091e920e8ed5e5ec0c 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -559,6 +559,8 @@ public:
void reattach(const AttachContext& = AttachContext());
void lazyReattachIfAttached();
+ void reattachWhitespaceSiblings() const;
+
// Wrapper for nodes that don't have a renderer, but still cache the style (like HTMLOptionElement).
RenderStyle* renderStyle() const;
RenderStyle* parentRenderStyle() const;
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | Source/core/dom/Node.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698