tor-browser

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

font-stretch-12.html (1214B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      4 <title>CSS Test:  font-stretch property, mapping values</title>
      5 <link rel="author" title="Chris Lilley" href="chris@w3.org">
      6 <link rel="match" href="font-stretch-pass-ref.html">
      7 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-stretch-prop">
      8 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-prop-desc">
      9 <meta name="assert" content="When a face does not exist for a given width, normal or condensed values map to a narrower face, otherwise a wider face.">
     10 <style>
     11    @font-face {
     12 			font-family: "test";
     13 			src: url(support/fonts/pass.woff) format("woff");
     14                font-stretch: condensed;
     15 		}
     16    @font-face {
     17 			font-family: "test";
     18 			src: url(support/fonts/fail.woff) format("woff");
     19                font-stretch: normal;
     20 		}
     21    .test {
     22 			font-family: "test";
     23 			font-size: 6em;
     24                font-stretch: semi-condensed;
     25 		}
     26 
     27 </style>
     28 <!-- per Fig 17,  where the narrower face is used 'otherwise'
     29 for semi condensed, before the normal face gets examined -->
     30 <p>Test passes if the word PASS appears below.</p>
     31 <section class="test">
     32    <p>P</p>
     33 </section>