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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h

Issue 1489433002: Support the essential part of Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Internals.* Created 5 years 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: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
index 5db4e5e61be8963bb58c7bb241a9f3ae55b2a484..528f1cac67acff623bbf9131cc80b6a5cce82706 100644
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
@@ -99,6 +99,7 @@ inline bool isActiveShadowInsertionPoint(const Node& node)
return node.isInsertionPoint() && toInsertionPoint(node).isShadowInsertionPoint();
}
+// TODO(hayato): The function name is confusing. This neither resolve a reprojection nor support v1 shadow trees.
inline ElementShadow* shadowWhereNodeCanBeDistributed(const Node& node)
{
Node* parent = node.parentNode();

Powered by Google App Engine
This is Rietveld 408576698