tor-browser

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

font-face-unicode-range-nbsp-ref.html (665B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>CSS Fonts reference</title>
      4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      5 <style>
      6 @font-face {
      7  font-family: test;
      8  src: url(/fonts/Ahem.ttf);
      9  ascent-override: 80%;
     10  descent-override: 20%;
     11 }
     12 @font-face {
     13  font-family: fallback;
     14  src: url(/fonts/GentiumPlus-R.woff);
     15  ascent-override: 80%;
     16  descent-override: 20%;
     17 }
     18 #test, #ref {
     19  font: 24px/2 fallback, serif;
     20 }
     21 span {
     22  font-family: test;
     23 }
     24 </style>
     25 <p>The first line should have much wider word spacing:</p>
     26 <div id=test>
     27 This<span>&nbsp;</span>is<span>&nbsp;</span>a<span>&nbsp;</span>test
     28 </div>
     29 <div id=ref>
     30 This is a test
     31 </div>