tor-browser

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

white-space-vs-joiners-001-ref.html (490B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 
      4 <title>CSS Text reference</title>
      5 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      6 
      7 <style>
      8 p {
      9  width: fit-content;
     10  border: 2px solid green;
     11  font: 24px monospace;
     12 }
     13 </style>
     14 
     15 <body>
     16 </body>
     17 
     18 <script>
     19 for (i = 0x200b; i <= 0x200f; ++i) {
     20  txt = "This should have no leading or trailing ["
     21    + i.toString(16)
     22    + "]";
     23  p = document.createElement("p");
     24  p.textContent = txt;
     25  document.body.appendChild(p);
     26 }
     27 </script>