Index: third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
index 12632179e87871347659c0991a8d4657bd557cab..fca3fa5350e6904cfe7b4fb92341a08506f50ccc 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp |
@@ -40,8 +40,8 @@ void SlotAssignment::resolveAssignment(ShadowRoot& shadowRoot) |
} |
for (Node& child : NodeTraversal::childrenOf(*shadowRoot.host())) { |
- if (child.isElementNode() && isActiveInsertionPoint(child)) { |
- // TODO(hayato): Support re-distribution across v0 and v1 shadow trees |
+ if (child.isInsertionPoint()) { |
hayato
2016/04/11 09:34:40
Strictly speaking, this is the behavior change. Ho
kochi
2016/04/11 10:35:33
Acknowledged.
|
+ // A re-distribution across v0 and v1 shadow trees is not supported. |
detachNotAssignedNode(child); |
continue; |
} |