tor-browser

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

c542-letter-sp-001.xht (1938B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: letter-spacing</title>
      5   <meta name="flags" content="ahem" />
      6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#letter-spacing"/>
      7   <link rel="help" href="https://drafts.csswg.org/css-text-3/#letter-spacing-property"/>
      8   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
      9   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
     10   <link rel="match" href="c542-letter-sp-001-ref.xht" />
     11 
     12   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13   <style type="text/css"><![CDATA[
     14    div { font: 30px/1 Ahem; width: 15em; background: yellow; color: aqua; margin: 0 0 0 2em; }
     15    .eight {letter-spacing: 60px;}
     16    .nine {letter-spacing: normal;}
     17    .ten {letter-spacing: 200%;} /* percentages are now valid per CSS-Text */
     18    .eleven {letter-spacing: -0.5em;}
     19    .fill { color: yellow; }
     20   ]]></style>
     21   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" title="16.4 Letter and word spacing: the 'letter-spacing' and 'word-spacing' properties"/>
     22  </head>
     23  <body>
     24   <p>There should be a stripy pattern of yellow and aqua below (each vertical stripe should be straight and unbroken).</p>
     25   <div class="test">x&#xA0;&#xA0;x&#xA0;&#xA0;&#xA0;&#xA0; x&#xA0; x </div>
     26   <div class="test">x&#xA0;&#xA0;x&#xA0;&#xA0;&#xA0;&#xA0; x&#xA0; x </div>
     27   <div class="test"><span class="eight"> xx xx </span></div>
     28   <div class="eight"><span class="nine">x&#xA0;&#xA0;x&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;x&#xA0;&#xA0;x </span></div>
     29   <div class="ten"> xx xx </div>
     30   <div class="eleven">x&#xA0; &#xA0;&#xA0; x&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<span class="fill">x</span>&#xA0;x&#xA0;&#xA0;&#xA0;<span class="fill">x</span> x </div>
     31  </body>
     32 </html>