Index: third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js |
index 05d1586c5f9ec6b7d5dc33951ff301c0999aad0b..ab9c30b587020ae764be1d379c9405a280fc0bdb 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js |
@@ -90,7 +90,7 @@ function convertTemplatesToShadowRootsWithin(node) { |
var parent = template.parentNode; |
parent.removeChild(template); |
var shadowRoot; |
- if (!mode) { |
+ if (!mode || mode == 'v0'){ |
shadowRoot = parent.createShadowRoot(); |
} else { |
shadowRoot = parent.attachShadow({'mode': mode}); |