Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/white-space/remove-slotted-with-whitespace-sibling.html - WPT Dashboard Interop Dashboard
<!doctype html>
<link rel="match" href="../../reference/pass_if_two_words.html">
<p>There should be a space between "two" and "words" below.</p>
<div id="host">two<div id="rm"></div> <span>words</span></div>
<script>
let root = host.attachShadow({mode:"open"});
root.innerHTML = "<slot></slot>";
host.offsetTop;
rm.slot = "unknown";
</script>