tor-browser

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

lang-attribute-affects-rendering-of-second-text-run-ref.html (521B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <style>
      6    * { font-size: 50px }
      7 
      8    @font-face {
      9      font-family: test-font-family;
     10      /* <Lato-Medium.ttf> provides different ligatures for English and
     11         Turkish. */
     12      src: url(/fonts/Lato-Medium.ttf);
     13    }
     14 
     15    div { font-family: test-font-family; }
     16  </style>
     17 </head>
     18 <body>
     19  `lang="en"` should render ligatures, `lang="tr"` not.
     20  Different scripts should correspond to different text runs.
     21  <div lang="tr">αβ fi</div>
     22 </body>
     23 </html>