Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<script>
function go() {
a.attachShadow({ mode: "open" });
a.appendChild(b);
}
</script>
<body onload=go()>
<div id="b"></div>
<div id="a"></div>