summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webcomponents/adjacent-insertion-points-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/webcomponents/adjacent-insertion-points-1.html')
-rw-r--r--layout/reftests/webcomponents/adjacent-insertion-points-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/webcomponents/adjacent-insertion-points-1.html b/layout/reftests/webcomponents/adjacent-insertion-points-1.html
new file mode 100644
index 000000000..a8c6f983d
--- /dev/null
+++ b/layout/reftests/webcomponents/adjacent-insertion-points-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <script>
+ function tweak() {
+ var oldShadowRoot = document.getElementById('outer').createShadowRoot();
+ oldShadowRoot.innerHTML = 'World';
+
+ var youngShadowRoot = document.getElementById('outer').createShadowRoot();
+ youngShadowRoot.innerHTML = 'Hello<content></content><shadow></shadow>';
+ }
+ </script>
+</head>
+<body onload="tweak()">
+<div id="outer"></div>
+</body>
+</html>