6 var slot
= document
.createElement("slot");
7 // The border shouldn't be visible, due to display: contents.
8 slot
.style
.border
= "1px solid red";
9 slot
.style
.color
= "green";
12 document
.getElementById('outer').attachShadow({mode
: 'open'});
13 shadowRoot
.appendChild(slot
);
17 <body onload=
"tweak()">
18 <div id=
"outer">This text should be green
</div>