summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/remove-slotted-with-whitespace-sibling.html
blob: 806bf05eac1800478c1fdc6ac14b556c87e55267 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
<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>