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 f6f3a22f30770e8f9bacdcc20e3d6524598789ac..af68373a499808c1c96623662b6d30a4ca5a751b 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); |
} |