Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 function tweak() {
6 // div with style "border: 10px solid green"
7 var shadowDiv = document.createElement("div");
8 shadowDiv.style.border = "10px solid green";
10 var insertionPoint = document.createElement("content");
11 shadowDiv.appendChild(insertionPoint);
13 var shadowRoot = document.getElementById('outer').createShadowRoot();
14 shadowRoot.appendChild(shadowDiv);
15 }
16 </script>
17 </head>
18 <body onload="tweak()">
19 <div id="outer">Hello</div>
20 </body>
21 </html>