tor-browser

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

font-face-weight-default-variable.html (977B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="utf-8"/>
      4 <title>CSS Test: Support for font-weight:auto in @font-face</title>
      5 <link rel="match" href="font-face-weight-default-variable-ref.html">
      6 <link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-prop-desc" />
      7 <meta name="assert" content="auto is default value for font-weight in @font-face descriptor">
      8 <style>
      9    @font-face {
     10        font-family: "Roboto";
     11        src: url('support/fonts/RobotoExtremo-VF.subset.ttf') format('truetype');
     12        font-display: swap;
     13        font-style: normal;
     14    }
     15    .weight100 {
     16        font-family: "Roboto";
     17        font-size: 3em;
     18        font-weight: 100;
     19    }
     20    .weight400 {
     21        font-family: "Roboto";
     22        font-size: 3em;
     23        font-weight: 400;
     24    }
     25    .weight900 {
     26        font-family: "Roboto";
     27        font-size: 3em;
     28        font-weight: 900;
     29    }
     30 </style>
     31 
     32 <p class="weight100">text</p>
     33 <p class="weight400">text</p>
     34 <p class="weight900">text</p>