tor-browser

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

writing-mode-dynamic-change-ref.html (383B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <body>
      4 <svg style="border: 1px solid gray;">
      5  <text id="test-text" y="0" x="50" font-size="16" writing-mode="vertical-rl">πŸŽ“πŸ‘ΊπŸ‘•πŸ‘–πŸ‘’</text>
      6 </svg>
      7 <p id="result"></p>
      8 
      9 <script>
     10 var text  = document.getElementById("test-text");
     11 var bbox = text.getBBox();
     12 result.textContent = `BBox: ${bbox.width} x ${bbox.height}`;
     13 </script>
     14 </body>