Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/shadow-root-001.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/shadow-root-001.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/shadow-root-001.html |
index 90432ae05e866b697810a50269c3b6e47ccbf67c..b93392bce35703b232c93963ac6ea51bb3ff207c 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/shadow-root-001.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/shadow-trees/shadow-root-001.html |
@@ -16,7 +16,7 @@ policies and contribution forms [3]. |
<link rel="author" title="Yuta Kitamura" href="mailto:yutak@google.com"> |
<link rel="help" href="http://www.w3.org/TR/2013/WD-shadow-dom-20130514/#shadow-trees"> |
<meta name="assert" content="When a shadow root is attached, the shadow tree is rendered."> |
-<script src="../testcommon.js"></script> |
+<script src="../../../html/resources/common.js"></script> |
<style> |
p { color: black; } |
* { color: red; } |
@@ -26,7 +26,7 @@ p { color: black; } |
<p>You should see green text saying "PASS" below.</p> |
<div id="host">FAIL</div> |
<script> |
-var shadowRoot = window.host.createShadowRoot(); |
+var shadowRoot = window.host.attachShadow({mode: 'open'}); |
shadowRoot.innerHTML = |
'<style>#pass { color: green; }</style>\n' + |
'<div id="pass">PASS</div>'; |