tor-browser

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

font-palette-22.html (802B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Tests for font-palette and @font-palette-values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-fonts/#font-palette-prop">
      7 <link rel="help" href="https://drafts.csswg.org/css-fonts-4/#font-palette-values">
      8 <link rel="author" title="Myles C. Maxfield" href="mailto:mmaxfield@apple.com">
      9 <link rel="mismatch" href="font-palette-22-notref.html">
     10 <style>
     11 @font-face {
     12    font-family: "COLR-test-font";
     13    src: url("resources/COLR-palettes-test-font.ttf") format("truetype");
     14 }
     15 
     16 @font-palette-values --MyPalette {
     17    font-family: "COLR-test-font";
     18    base-palette: 1;
     19    override-colors: 3 #FF00FF;
     20 }
     21 </style>
     22 </head>
     23 <body>
     24 <div id="target" style="font: 48px 'COLR-test-font'; font-palette: --MyPalette;">A</div>
     25 </body>
     26 </html>