summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webcomponents/remove-append-shadow-host-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/webcomponents/remove-append-shadow-host-1.html')
-rw-r--r--layout/reftests/webcomponents/remove-append-shadow-host-1.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/reftests/webcomponents/remove-append-shadow-host-1.html b/layout/reftests/webcomponents/remove-append-shadow-host-1.html
index 85161565e..1a752eba6 100644
--- a/layout/reftests/webcomponents/remove-append-shadow-host-1.html
+++ b/layout/reftests/webcomponents/remove-append-shadow-host-1.html
@@ -6,7 +6,7 @@
<div id="container"><div id="host"></div></div>
<script>
var host = document.getElementById("host");
- var root = host.createShadowRoot();
+ var root = host.attachShadow({mode: 'open'});
root.innerHTML = 'inside shadow DOM';
var container = document.getElementById("container");