remove-slotted-with-whitespace-sibling.html (431B)
1 <!doctype html> 2 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules"> 3 <link rel="match" href="../../reference/pass_if_two_words.html"> 4 <p>There should be a space between "two" and "words" below.</p> 5 <div id="host">two<div id="rm"></div> <span>words</span></div> 6 <script> 7 let root = host.attachShadow({mode:"open"}); 8 root.innerHTML = "<slot></slot>"; 9 host.offsetTop; 10 rm.slot = "unknown"; 11 </script>