summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webcomponents/basic-shadow-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/webcomponents/basic-shadow-1.html')
-rw-r--r--layout/reftests/webcomponents/basic-shadow-1.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/reftests/webcomponents/basic-shadow-1.html b/layout/reftests/webcomponents/basic-shadow-1.html
index 944a594d2..8949dfc6d 100644
--- a/layout/reftests/webcomponents/basic-shadow-1.html
+++ b/layout/reftests/webcomponents/basic-shadow-1.html
@@ -9,7 +9,7 @@
shadowDiv.style.height = "100px";
shadowDiv.style.backgroundColor = "green";
- var shadowRoot = document.getElementById('outer').createShadowRoot();
+ var shadowRoot = document.getElementById('outer').attachShadow({mode: 'open'});
shadowRoot.appendChild(shadowDiv);
}
</script>