tor-browser

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

subsuper-fallback-notref2.html (982B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 <title>font-variant-position fallback</title>
      5 <meta charset="UTF-8">
      6 <style>
      7 
      8 /* sups: 0-9 + - ( ) =  subs: 0-9 + - ( ) */
      9 @font-face {
     10  font-family: subsuper;
     11  src: url(../fonts/subsuper.woff); /* FiraSans with blank omega */
     12 }
     13 
     14 body {
     15  margin: 20px;
     16  font-family: subsuper, sans-serif;
     17 }
     18 
     19 p {
     20  margin: 0;
     21  font-size: 50px;
     22 }
     23 h4 { font-weight: normal }
     24 </style>
     25 </head>
     26 <body>
     27 <h4>All the subscripts and superscripts should display with synthesized glyphs:</h4>
     28 <p><span class=sub>&#x2083;n</span>C<span class=super>&#x0b2;n</span> <span class=sub>n&#x2083;</span>C<span class=super>n&#x0b2;</span></p>
     29 <p><span class=sub>&#x2083;&pi;</span>C<span class=super>&#x0b2;&pi;</span> <span class=sub>&pi;&#x2083;</span>C<span class=super>&pi;&#x0b2;</span></p>
     30 <p><span class=sub>&#x2083;&#x1F4A9;</span>C<span class=super>&#x0b2;&#x1F4A9;</span> <span class=sub>&#x1F4A9;&#x2083;</span>C<span class=super>&#x1F4A9;&#x0b2;</span></p>
     31 </body>
     32 </html>