summaryrefslogtreecommitdiff
path: root/layout/reftests/webcomponents/adjacent-insertion-points-1.html
blob: a8c6f983dcc2d5b7b17ce846f2d1a89113becd65 (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 = '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>