tor-browser

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

descriptor-ranges-ref.html (619B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 
      4 <style id="dynamicStyles">
      5 </style>
      6 
      7 <div id="testContents" style="columns: 2; font-size: 10px;">
      8 </div>
      9 
     10 <script>
     11 /* Reference file creates only a single face in each test font-family,
     12   so that it will always have the expected rendering without relying
     13   on the font-matching algorithm to choose between faces. */
     14 function createFontFaceRules(family, descriptor, expectedMatch, unexpectedMatch) {
     15    return `@font-face { font-family: ${family}; src: url(../fonts/Chunkfive.otf); ${descriptor}: ${expectedMatch}; }\n`;
     16 }
     17 </script>
     18 
     19 <script src="descriptor-ranges.js"></script>