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

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: Added unit tests. Fixed a minor bug in distribution. 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 6f9e6731fc47885251a0d76a6b54fed32721cf9c..7717a75963f3bf1280183ea66fc636812fb106ce 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