tor-browser

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

font-size-scaling.html (783B)


      1 <!DOCTYPE html>
      2 <html lang="en-US">
      3 <meta charset="utf-8">
      4 <title>SVG reftest: Thai locale should not disrupt font sizing</title>
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1914190">
      6 <link rel="match" href="font-size-scaling-ref.html">
      7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      8 
      9 <style>
     10 svg {
     11  display: block;
     12  margin: 10px;
     13  border: 2px solid gray;
     14  font: 2px Ahem;
     15 }
     16 svg.ref {
     17  font: 20px Ahem;
     18 }
     19 </style>
     20 
     21 <p>All three rectangles should contain similar small black bars:</p>
     22 
     23 <svg class="ref">
     24  <g>
     25    <text x="50" y="100">abc</text>
     26  </g>
     27 </svg>
     28 
     29 <svg>
     30  <g transform="scale(10)">
     31    <text x="5" y="10">abc</text>
     32  </g>
     33 </svg>
     34 
     35 <svg lang="th-TH">
     36  <g transform="scale(10)">
     37    <text x="5" y="10">abc</text>
     38  </g>
     39 </svg>