tor-browser

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

tab-size-integer-005-ref.html (865B)


      1 <!DOCTYPE html>
      2 <html>
      3 <meta charset=utf-8>
      4 <title>CSS Text Reference</title>
      5 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      6 <style>
      7 @font-face {
      8    /* this font-family does not support <space>, so should not be used to resolve tab-size */
      9    font-family: without-space;
     10    src: url("/fonts/CanvasTest-nospace.ttf");
     11 }
     12 @font-face {
     13    /* the <space> in this font is much narrower than the default/.notdef in "first" */
     14    font-family: with-space;
     15    src: url("/fonts/GentiumPlus-R.woff");
     16 }
     17 div {
     18    font: 40px/2 without-space, with-space, sans-serif;
     19 }
     20 span {
     21    font-family: with-space, sans-serif;
     22 }
     23 </style>
     24 
     25 <p>Test passes if the two black squares below are vertically aligned.
     26 
     27 <div><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>E</div>
     28 <div><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>E</div>