3 <link rel=
"author" title=
"Joey Arhar" href=
"mailto:jarhar@chromium.org">
4 <link rel=
"help" href=
"https://bugs.chromium.org/p/chromium/issues/detail?id=1184357">
6 <link rel=
"match" href=
"/dom/slot-recalc-ref.html">
10 const host
= document
.createElement('div');
11 document
.body
.appendChild(host
);
12 const root
= host
.attachShadow({mode
: 'open'});
14 const slot
= document
.createElement('slot');
15 slot
.innerHTML
= `<p>there should be more text below this</p>`;
16 root
.appendChild(slot
);
19 const shouldBeVisible
= document
.createElement('p');
20 shouldBeVisible
.textContent
= 'PASS if this text is visible';
21 slot
.appendChild(shouldBeVisible
);