tor-browser

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

hyphenation-control-6.html (592B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="utf-8">
      4 <style>
      5 .test { hyphens:auto; font:10px Ubuntu Mono, Courier New, Courier, monospace; border: 1px solid silver; }
      6 </style>
      7 <body>
      8 <p>All the columns should appear identical:</p>
      9 <div id="outer" style="columns:6">
     10 <script>
     11 let outer = document.getElementById("outer");
     12 for (i = 1; i <= 6; ++i) {
     13  for (j = 0; j <= 18; j += 2) {
     14    div = document.createElement("div");
     15    div.className = "test";
     16    div.style.width = j + "ch";
     17    div.textContent = "the" + " ".repeat(i) + "flow-relative";
     18    outer.appendChild(div);
     19  }
     20 }
     21 </script>