summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webcomponents/adjacent-insertion-points-2.html
blob: f90cb206bb9806473829709f493949e89b56739d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE HTML>
<html>
<head>
  <script>
    function tweak() {
      var oldShadowRoot = document.getElementById('outer').createShadowRoot();
      oldShadowRoot.innerHTML = 'Hello';

      var youngShadowRoot = document.getElementById('outer').createShadowRoot();
      youngShadowRoot.innerHTML = '<shadow></shadow><content></content>World';
    }
  </script>
</head>
<body onload="tweak()">
<div id="outer"></div>
</body>
</html>