Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/styles/not-apply-in-shadow-root-001.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/styles/not-apply-in-shadow-root-001.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/styles/not-apply-in-shadow-root-001.html |
index b83dad02f4e121c2abb6d579aa959bc8cb68d7f7..a56be9778c53d33464f951c4933af61b783f1781 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/styles/not-apply-in-shadow-root-001.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/untriaged/styles/not-apply-in-shadow-root-001.html |
@@ -15,7 +15,7 @@ policies and contribution forms [3]. |
<link rel="author" title="Kazuhito Hokamura" href="mailto:k.hokamura@gmail.com"> |
<link rel="help" href="http://www.w3.org/TR/2013/WD-shadow-dom-20130514/#styles"> |
<meta name="assert" content="Styles: CSS rules declared in an enclosing tree must not apply in a shadow tree if apply-author-styles flag is not set."> |
-<script src="../testcommon.js"></script> |
+<script src="../../../html/resources/common.js"></script> |
<style> |
div { |
width: 100px; |
@@ -29,7 +29,7 @@ div { |
<div id="shadow-host"></div> |
<script> |
var shadowHost = document.getElementById('shadow-host'); |
-var shadowRoot = shadowHost.createShadowRoot(); |
+var shadowRoot = shadowHost.attachShadow({mode: 'open'}); |
var style = document.createElement('style'); |
style.innerHTML = 'div { background: red }'; |