Index: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
index eba7d6e787a4da6e4af08959939f6febb50797d9..16d919dab82d34432507aca36744ad55aa99469c 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp |
@@ -140,6 +140,8 @@ bool InsertionPoint::canBeActive() const |
{ |
if (!isInShadowTree()) |
return false; |
+ if (containingShadowRoot()->isV1()) |
+ return false; |
return !Traversal<InsertionPoint>::firstAncestor(*this); |
} |