tor-browser

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

letter-spacing-nesting-001.html (761B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 3 Test: letter on nested element</title>
      4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#letter-spacing-property">
      6 <link rel="match" href="reference/letter-spacing-nesting-001-ref.html">
      7 <meta name="assert" content="A given value of letter-spacing only affects the spacing between characters completely contained within the element for which it is specified">
      8 <style>
      9 div {
     10  font-family: monospace;
     11  font-size: 3em;
     12 }
     13 span {
     14  letter-spacing: 1ch;
     15 }
     16 </style>
     17 
     18 <p>Test passes if the rightmost character of the line that starts with “a” is under the number 5.
     19 <div>123456</div>
     20 <div>a<span>aa</span>a</div>