tor-browser

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

first-letter-space-not-selected.html (1050B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4    <title>CSS Test: ::first-letter - spaces should not be selected</title>
      5    <link rel="author" title="Ethan Malasky" href="mailto:emalasky@adobe.com">
      6    <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter">
      7    <link rel="match" href="reference/first-letter-space-not-selected-ref.html">
      8    <meta name="assert" content="::first-letter should not include initial spaces. Test non-breaking space, em space, en space, and thin space, both alone and preceeding a real letter.">
      9    <style type="text/css">
     10        .test::first-letter {
     11            background: red;
     12            font-size: 3em;
     13        }
     14    </style>
     15 </head>
     16 <body>
     17    <p>Test passes if there is no red.</p>
     18    <div class="test">&nbsp;</div>
     19    <div class="test">&nbsp;A</div>
     20    <div class="test">&ensp;</div>
     21    <div class="test">&ensp;B</div></body>
     22    <div class="test">&emsp;</div>
     23    <div class="test">&emsp;C</div></body>
     24    <div class="test">&thinsp;</div>
     25    <div class="test">&thinsp;D</div>
     26 </body>
     27 </html>