tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

display-contents-shadow-host-whitespace.html (535B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Whitespace across display:contents shadow host</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
      6 <link rel="match" href="../reference/pass_if_two_words.html">
      7 <p>There should be a space between "two" and "words" below.</p>
      8 <div id="host" style="display:contents"></div> <span>words</span>
      9 <script>
     10  host.attachShadow({mode:"open"}).innerHTML = "two";
     11 </script>